aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorOndřej Čertík <ondrej@certik.us>2020-01-27 23:30:58 -0700
committerGitHub <noreply@github.com>2020-01-27 23:30:58 -0700
commit21020c2f60a2a0f07bc4ef2506004ed5a361793b (patch)
tree58f1c368dedb755b626403ae8f812bd1d485e8ef /tests
parentdd739aaf983ccd25bd7033fb2700d5ca81053bd1 (diff)
parentb530b48950267b1ba1151a272182eab88cb59400 (diff)
downloadfpm-21020c2f60a2a0f07bc4ef2506004ed5a361793b.tar.gz
fpm-21020c2f60a2a0f07bc4ef2506004ed5a361793b.zip
Merge pull request #26 from certik/target
Build in a target directory
Diffstat (limited to 'tests')
-rw-r--r--tests/cli.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/cli.rs b/tests/cli.rs
index 4ddc675..b099721 100644
--- a/tests/cli.rs
+++ b/tests/cli.rs
@@ -72,6 +72,8 @@ fn test_1() {
let mut run = fpm_bin();
run.arg("run")
+ .arg("--target-dir")
+ .arg("build-test")
.current_dir("tests/1");
run.assert()
.success2()
@@ -92,6 +94,8 @@ fn test_2() {
let mut run = fpm_bin();
run.arg("run")
+ .arg("--target-dir")
+ .arg("build-test")
.current_dir("tests/2");
run.assert()
.success2()