diff options
Diffstat (limited to 'cli/tests/integration')
-rw-r--r-- | cli/tests/integration/compile_tests.rs | 70 | ||||
-rw-r--r-- | cli/tests/integration/mod.rs | 16 | ||||
-rw-r--r-- | cli/tests/integration/run_tests.rs | 44 |
3 files changed, 0 insertions, 130 deletions
diff --git a/cli/tests/integration/compile_tests.rs b/cli/tests/integration/compile_tests.rs index 4e45adc07..2f75659cf 100644 --- a/cli/tests/integration/compile_tests.rs +++ b/cli/tests/integration/compile_tests.rs @@ -226,76 +226,6 @@ fn standalone_follow_redirects() { } #[test] -fn standalone_compiler_ops() { - let dir = TempDir::new(); - let exe = if cfg!(windows) { - dir.path().join("standalone_compiler_ops.exe") - } else { - dir.path().join("standalone_compiler_ops") - }; - let output = util::deno_cmd() - .current_dir(util::testdata_path()) - .arg("compile") - .arg("--unstable") - .arg("--output") - .arg(&exe) - .arg("./standalone_compiler_ops.ts") - .stdout(std::process::Stdio::piped()) - .spawn() - .unwrap() - .wait_with_output() - .unwrap(); - assert!(output.status.success()); - let output = Command::new(exe) - .stdout(std::process::Stdio::piped()) - .stderr(std::process::Stdio::piped()) - .spawn() - .unwrap() - .wait_with_output() - .unwrap(); - assert!(output.status.success()); - assert_eq!(output.stdout, b"Hello, Compiler API!\n"); -} - -#[test] -fn compile_with_directory_output_flag() { - let dir = TempDir::new(); - let output_path = if cfg!(windows) { - dir.path().join(r"args\random\") - } else { - dir.path().join("args/random/") - }; - let output = util::deno_cmd() - .current_dir(util::testdata_path()) - .arg("compile") - .arg("--unstable") - .arg("--output") - .arg(&output_path) - .arg("./standalone_compiler_ops.ts") - .stdout(std::process::Stdio::piped()) - .spawn() - .unwrap() - .wait_with_output() - .unwrap(); - assert!(output.status.success()); - let exe = if cfg!(windows) { - output_path.join("standalone_compiler_ops.exe") - } else { - output_path.join("standalone_compiler_ops") - }; - assert!(&exe.exists()); - let output = Command::new(exe) - .stdout(std::process::Stdio::piped()) - .stderr(std::process::Stdio::piped()) - .spawn() - .unwrap() - .wait_with_output() - .unwrap(); - assert!(output.status.success()); - assert_eq!(output.stdout, b"Hello, Compiler API!\n"); -} - -#[test] fn compile_with_file_exists_error() { let dir = TempDir::new(); let output_path = if cfg!(windows) { diff --git a/cli/tests/integration/mod.rs b/cli/tests/integration/mod.rs index d1684e3ef..7acd92661 100644 --- a/cli/tests/integration/mod.rs +++ b/cli/tests/integration/mod.rs @@ -444,22 +444,6 @@ console.log("finish"); } #[test] -fn compiler_api() { - let status = util::deno_cmd() - .current_dir(util::testdata_path()) - .arg("test") - .arg("--unstable") - .arg("--reload") - .arg("--allow-read") - .arg("compiler_api_test.ts") - .spawn() - .unwrap() - .wait() - .unwrap(); - assert!(status.success()); -} - -#[test] fn broken_stdout() { let (reader, writer) = os_pipe::pipe().unwrap(); // drop the reader to create a broken pipe diff --git a/cli/tests/integration/run_tests.rs b/cli/tests/integration/run_tests.rs index dc158fd7a..4dc17bacb 100644 --- a/cli/tests/integration/run_tests.rs +++ b/cli/tests/integration/run_tests.rs @@ -450,12 +450,6 @@ itest!(_079_location_authentication { output: "079_location_authentication.ts.out", }); -itest!(_080_deno_emit_permissions { - args: "run --unstable 080_deno_emit_permissions.ts", - output: "080_deno_emit_permissions.ts.out", - exit_code: 1, -}); - itest!(_081_location_relative_fetch_redirect { args: "run --location http://127.0.0.1:4546/ --allow-net 081_location_relative_fetch_redirect.ts", output: "081_location_relative_fetch_redirect.ts.out", @@ -986,26 +980,6 @@ itest!(runtime_decorators { output: "runtime_decorators.ts.out", }); -itest!(lib_dom_asynciterable { - args: "run --quiet --unstable --reload lib_dom_asynciterable.ts", - output: "lib_dom_asynciterable.ts.out", -}); - -itest!(lib_dom_extras { - args: "run --quiet --unstable --reload lib_dom_extras.ts", - output: "lib_dom_extras.ts.out", -}); - -itest!(lib_ref { - args: "run --quiet --unstable --reload lib_ref.ts", - output: "lib_ref.ts.out", -}); - -itest!(lib_runtime_api { - args: "run --quiet --unstable --reload lib_runtime_api.ts", - output: "lib_runtime_api.ts.out", -}); - itest!(seed_random { args: "run --seed=100 seed_random.js", output: "seed_random.js.out", @@ -2417,24 +2391,6 @@ itest!(eval_context_throw_dom_exception { envs: vec![("DENO_FUTURE_CHECK".to_string(), "1".to_string())], }); -#[test] -fn issue12453() { - let _g = util::http_server(); - let deno_dir = util::new_deno_dir(); - let mut deno_cmd = util::deno_cmd_with_deno_dir(&deno_dir); - let status = deno_cmd - .current_dir(util::testdata_path()) - .arg("run") - .arg("--unstable") - .arg("--allow-net") - .arg("issue12453.js") - .spawn() - .unwrap() - .wait() - .unwrap(); - assert!(status.success()); -} - /// Regression test for https://github.com/denoland/deno/issues/12740. #[test] fn issue12740() { |