about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2019-03-10 18:12:59 +0100
committerAjax <commial@gmail.com>2019-06-13 16:41:22 +0200
commitcf63cc425f15772f9c3dfdb2bb27629f0f3feda4 (patch)
treed62e1ccf7bc6e38bac90803763f2b87440ae6ee5
parentbc1bf01ba4c7c0fe3cf325f4ac12577eaf947852 (diff)
downloadfocaccia-miasm-cf63cc425f15772f9c3dfdb2bb27629f0f3feda4.tar.gz
focaccia-miasm-cf63cc425f15772f9c3dfdb2bb27629f0f3feda4.zip
Add extended tests in travis
-rw-r--r--.travis.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index e395e804..957ef09d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -24,6 +24,7 @@ env:
     - MIASM_TEST_EXTRA_ARG="-o python -t qemu,long"
     - MIASM_TEST_EXTRA_ARG="-o z3"
     - MIASM_TEST_EXTRA_ARG="-o cparser"
+    - MIASM_EXTENTED_TESTS="ls_x64"
 before_script:
 - pip install -r optional_requirements.txt
 # codespell
@@ -31,4 +32,8 @@ before_script:
 # install
 - python setup.py build build_ext
 - python setup.py install
-script: cd test && flags=""; python --version |& grep -q "Python 3" || flags="-W error"; python $flags test_all.py $MIASM_TEST_EXTRA_ARG && git ls-files -o --exclude-standard
+# extended tests
+- git clone https://github.com/cea-sec/miasm-extended-tests
+script:
+  - test -z "$MIASM_TEST_EXTRA_ARG" || (cd test && flags=""; python --version |& grep -q "Python 3" || flags="-W error"; python $flags test_all.py $MIASM_TEST_EXTRA_ARG && git ls-files -o --exclude-standard)
+  - test -z "$MIASM_EXTENTED_TESTS" || (cd "miasm-extended-tests/$MIASM_EXTENTED_TESTS" && ./run.sh "$TRAVIS_BUILD_DIR")