Browse Source

Run cargo test

Jeremy Soller 5 years ago
parent
commit
0090396132
2 changed files with 2 additions and 0 deletions
  1. 1 0
      .gitlab-ci.yml
  2. 1 0
      Makefile

+ 1 - 0
.gitlab-ci.yml

@@ -45,6 +45,7 @@ test:redox:
     variables:
         TARGET: x86_64-unknown-redox
     script:
+        - export CARGO="redoxer"
         - export RUSTUP_TOOLCHAIN="$HOME/.redoxer/toolchain"
         - export PATH="$RUSTUP_TOOLCHAIN/bin:$PATH"
         - export TEST_RUNNER="redoxer exec --folder . -- sh --"

+ 1 - 0
Makefile

@@ -88,6 +88,7 @@ sysroot: all
 	touch $@
 
 test: sysroot
+	$(CARGO) test
 	$(MAKE) -C tests verify
 
 # Debug targets