From 699f2f6993c37c2651c85d96d9c2be42f5b9a128 Mon Sep 17 00:00:00 2001 From: fxpineau Date: Fri, 20 Dec 2024 17:41:09 +0100 Subject: [PATCH] Comment local tests for external sort --- src/nested/sort/mod.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/nested/sort/mod.rs b/src/nested/sort/mod.rs index 538d578..19f081c 100644 --- a/src/nested/sort/mod.rs +++ b/src/nested/sort/mod.rs @@ -1242,7 +1242,7 @@ mod tests { }*/ // Test only on personal computer - #[test] + /*#[test] #[cfg(all(target_os = "linux", not(target_arch = "wasm32")))] fn testok_bigsort_ssd() { init_logger(); @@ -1253,13 +1253,13 @@ mod tests { let depth_file = 11; let depth_sort = 4; - /*fs::create_dir_all("./local_resources").unwrap(); + fs::create_dir_all("./local_resources").unwrap(); create_test_file(depth_file, "./local_resources/test.csv").unwrap(); Command::new("bash") .arg("-c") .arg("shuf ./local_resources/test.csv -o ./local_resources/input.csv") .output() - .expect("failed to execute process");*/ + .expect("failed to execute process"); hpx_external_sort_csv_file( "./local_resources/input11.csv", "./local_resources/output11.csv", @@ -1277,7 +1277,7 @@ mod tests { false, ) .unwrap(); - /*let out = Command::new("bash") + let out = Command::new("bash") .arg("-c") .arg("diff /data/pineau/sandbox/test.csv /data/pineau/sandbox/output.csv") .output() @@ -1288,6 +1288,6 @@ mod tests { .arg("-c") .arg("rm -r /data/pineau/sandbox/test.csv /data/pineau/sandbox/output.csv") .output() - .expect("failed to execute process");*/ - } + .expect("failed to execute process"); + }*/ }