Skip to content
This repository was archived by the owner on Nov 22, 2022. It is now read-only.

Commit a7caf10

Browse files
committed
only pop up inspect helpers on linux
1 parent c8bbeef commit a7caf10

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

tests/common/mod.rs

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -408,12 +408,15 @@ impl TestHelper {
408408
self.project_directories.base().display(),
409409
);
410410

411-
let _ = std::process::Command::new("thunar")
412-
.arg(self.real_mountpoint())
413-
.spawn();
414-
let _ = std::process::Command::new("sqlitebrowser")
415-
.arg(self.settings.db_file(&self.collection))
416-
.spawn();
411+
#[cfg(target_os = "linux")]
412+
{
413+
let _ = std::process::Command::new("thunar")
414+
.arg(self.real_mountpoint())
415+
.spawn();
416+
let _ = std::process::Command::new("sqlitebrowser")
417+
.arg(self.settings.db_file(&self.collection))
418+
.spawn();
419+
}
417420

418421
let mut s = String::new();
419422
std::io::stdin().read_line(&mut s).unwrap();

0 commit comments

Comments
 (0)