Skip to content

Commit

Permalink
Fix: assign tests to neural_nets_lib
Browse files Browse the repository at this point in the history
  • Loading branch information
lukstafi committed Apr 24, 2024
1 parent 8fe2305 commit 12be0a7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/dune
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(library
(name tutorials)
(package neural_nets_lib)
(inline_tests
(deps ocannl_config))
(libraries base dynlink ocannl)
Expand Down
6 changes: 6 additions & 0 deletions test_ppx/dune
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
(executable
(name pp)
(public_name pp)
(package neural_nets_lib)
(modules pp)
(libraries ppx_ocannl ppxlib)
(modes exe))

(rule
(targets test_ppx_op_actual.ml)
(package neural_nets_lib)
(deps
(:pp pp.exe)
(:input test_ppx_op.ml))
Expand All @@ -14,11 +17,13 @@

(rule
(alias runtest)
(package neural_nets_lib)
(action
(diff test_ppx_op_expected.ml test_ppx_op_actual.ml)))

(test
(name test_ppx_op)
(package neural_nets_lib)
(modules test_ppx_op)
(deps ocannl_config)
(libraries ocannl)
Expand All @@ -27,6 +32,7 @@

(test
(name test_ppx_op_expected)
(package neural_nets_lib)
(modules test_ppx_op_expected)
(deps ocannl_config)
(libraries ocannl))

0 comments on commit 12be0a7

Please sign in to comment.