diff --git a/test/e2e/alcotest/failing/dune.inc b/test/e2e/alcotest/failing/dune.inc index 6c9fec99..903ed946 100644 --- a/test/e2e/alcotest/failing/dune.inc +++ b/test/e2e/alcotest/failing/dune.inc @@ -14,7 +14,6 @@ outside_runner tail_errors_limit tail_errors_unlimited - unknown_option ) (libraries alcotest alcotest.stdlib_ext alcotest.engine) (modes exe js) @@ -33,7 +32,6 @@ outside_runner tail_errors_limit tail_errors_unlimited - unknown_option ) ) @@ -568,41 +566,3 @@ (package alcotest) (action (diff tail_errors_unlimited-js.expected tail_errors_unlimited-js.processed))) - -(rule - (target unknown_option.actual) - (action - (with-outputs-to %{target} - (with-accepted-exit-codes (or 1 2 124 125) - (run %{dep:unknown_option.exe} --dry-runn))))) - -(rule - (target unknown_option.processed) - (action - (with-outputs-to %{target} - (run ../../strip_randomness.exe %{dep:unknown_option.actual})))) - -(rule - (alias runtest) - (package alcotest) - (action - (diff unknown_option.expected unknown_option.processed))) - -(rule - (target unknown_option-js.actual) - (action - (with-outputs-to %{target} - (with-accepted-exit-codes (or 1 2 124 125) - (run node %{dep:unknown_option.bc.js} --dry-runn))))) - -(rule - (target unknown_option-js.processed) - (action - (with-outputs-to %{target} - (run ../../strip_randomness.exe %{dep:unknown_option-js.actual})))) - -(rule - (alias runtest-js) - (package alcotest) - (action - (diff unknown_option-js.expected unknown_option-js.processed))) diff --git a/test/e2e/alcotest/failing/unknown_option-js.expected b/test/e2e/alcotest/failing/unknown_option-js.expected deleted file mode 100644 index fc26b53d..00000000 --- a/test/e2e/alcotest/failing/unknown_option-js.expected +++ /dev/null @@ -1,3 +0,0 @@ -unknown_option.: unknown option '--dry-runn'. -Usage: unknown_option. [COMMAND] … -Try 'unknown_option. --help' for more information. diff --git a/test/e2e/alcotest/failing/unknown_option.expected b/test/e2e/alcotest/failing/unknown_option.expected deleted file mode 100644 index fc26b53d..00000000 --- a/test/e2e/alcotest/failing/unknown_option.expected +++ /dev/null @@ -1,3 +0,0 @@ -unknown_option.: unknown option '--dry-runn'. -Usage: unknown_option. [COMMAND] … -Try 'unknown_option. --help' for more information. diff --git a/test/e2e/alcotest/failing/unknown_option.ml b/test/e2e/alcotest/failing/unknown_option.ml deleted file mode 100644 index d515a14b..00000000 --- a/test/e2e/alcotest/failing/unknown_option.ml +++ /dev/null @@ -1,3 +0,0 @@ -let () = - Alcotest.run __FILE__ - [ ("alpha", [ Alcotest.test_case "1" `Quick (fun () -> ()) ]) ] diff --git a/test/e2e/alcotest/failing/unknown_option.opts b/test/e2e/alcotest/failing/unknown_option.opts deleted file mode 100644 index fd42c738..00000000 --- a/test/e2e/alcotest/failing/unknown_option.opts +++ /dev/null @@ -1 +0,0 @@ ---dry-runn diff --git a/test/e2e/alcotest/passing/quick_only.ml b/test/e2e/alcotest/passing/quick_only.ml index 7fe5c899..e6f324e0 100644 --- a/test/e2e/alcotest/passing/quick_only.ml +++ b/test/e2e/alcotest/passing/quick_only.ml @@ -1,7 +1,7 @@ let () = let open Alcotest in let id () = () in - run ~argv:[| ""; "--quick" |] __FILE__ + run ~argv:[| ""; "--quick-tests" |] __FILE__ [ ("test-a", [ test_case "Quick" `Quick id; test_case "Slow" `Slow id ]); ("test-b", [ test_case "Slow" `Slow id; test_case "Quick" `Quick id ]); diff --git a/test/e2e/alcotest/passing/quick_only_regex.ml b/test/e2e/alcotest/passing/quick_only_regex.ml index 825aa9b9..575cf538 100644 --- a/test/e2e/alcotest/passing/quick_only_regex.ml +++ b/test/e2e/alcotest/passing/quick_only_regex.ml @@ -2,7 +2,7 @@ let () = let open Alcotest in let id () = () in run - ~argv:[| ""; "test"; "--quick"; ".*-a" |] + ~argv:[| ""; "test"; "--quick-tests"; ".*-a" |] __FILE__ [ ( "test-a",