Skip to content

Commit

Permalink
Merge pull request #492 from NathanReb/fix-deriving-warning-tests
Browse files Browse the repository at this point in the history
Make -unused-code-warning tests actual tests
  • Loading branch information
NathanReb authored Jun 4, 2024
2 parents d9c9f5f + eaf7065 commit a0d7c8e
Show file tree
Hide file tree
Showing 11 changed files with 247 additions and 193 deletions.
4 changes: 0 additions & 4 deletions test/deriving_warning/disable/dune

This file was deleted.

48 changes: 0 additions & 48 deletions test/deriving_warning/disable/ppx_warning_flags_test.ml

This file was deleted.

54 changes: 0 additions & 54 deletions test/deriving_warning/disable/ppx_warning_flags_test.mli

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,5 @@ let () =
(* The derivers are added from right to left *)
Deriving.add_alias "alias_warn" [ alias_no_warn; alias_do_warn ]
|> Deriving.ignore

let () = Driver.standalone ()
8 changes: 8 additions & 0 deletions test/deriving_warning/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
(executable
(name driver)
(libraries ppxlib)
(preprocess
(pps ppxlib.metaquot)))

(cram
(deps driver.exe))
4 changes: 0 additions & 4 deletions test/deriving_warning/enable/dune

This file was deleted.

37 changes: 0 additions & 37 deletions test/deriving_warning/enable/ppx_warning_flags_test.ml

This file was deleted.

39 changes: 0 additions & 39 deletions test/deriving_warning/enable/ppx_warning_flags_test.mli

This file was deleted.

6 changes: 0 additions & 6 deletions test/deriving_warning/ppx/dune

This file was deleted.

1 change: 0 additions & 1 deletion test/deriving_warning/ppx/ppx_warning_flags.mli

This file was deleted.

Loading

0 comments on commit a0d7c8e

Please sign in to comment.