aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndřej Čertík <ondrej@certik.us>2020-01-12 10:41:20 -0700
committerOndřej Čertík <ondrej@certik.us>2020-01-12 10:41:20 -0700
commit0ce4220d7173a1dea93d5ec0a566d523ec4f23c2 (patch)
treee98e15cc1a9c9599d079bc27a6e546339a74f9ad
parent4671b5f14f5ff8ad286f1bcab6fee91e0df20926 (diff)
downloadfpm-0ce4220d7173a1dea93d5ec0a566d523ec4f23c2.tar.gz
fpm-0ce4220d7173a1dea93d5ec0a566d523ec4f23c2.zip
Add a script to run tests
-rw-r--r--.gitlab-ci.yml1
-rwxr-xr-xrun_tests.sh8
2 files changed, 9 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d1a4cae..042dff0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -9,6 +9,7 @@ rust-latest:
- cargo test --verbose
- touch a.f90 b.f90 c.f90
- cargo run -- build
+ - ./run_tests.sh
rust-nightly:
stage: build
diff --git a/run_tests.sh b/run_tests.sh
new file mode 100755
index 0000000..123acb2
--- /dev/null
+++ b/run_tests.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+set -ex
+
+fpm=$(pwd)/target/debug/fpm
+
+cd tests/1
+${fpm} build