From c1616cf1795743869743aa13deb48e81b723fc17 Mon Sep 17 00:00:00 2001 From: Alex Groce Date: Thu, 12 Jul 2018 22:08:54 -0700 Subject: [PATCH] change to the right directory before running nose --- .travis.yml | 1 + tests/test_basic_functionality.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a411ba5..b96ca37 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,7 @@ install: - cmake .. - make - python setup.py install +- cd .. env: - TASK=ANGR DEEPSTATE_CMD=deepstate-angr - TASK=MANTICORE DEEPSTATE_CMD=deepstate-manticore diff --git a/tests/test_basic_functionality.py b/tests/test_basic_functionality.py index e811d64..91cdc2e 100644 --- a/tests/test_basic_functionality.py +++ b/tests/test_basic_functionality.py @@ -10,7 +10,7 @@ class TestBasicFunctionality(TestCase): deepstate = os.getenv("DEEPSTATE_CMD") with open("deepstate.out", 'w') as outf: - r = subprocess.call([deepstate, "examples/IntegerArithmetic"], stdout = outf, stderr = outf) + r = subprocess.call([deepstate, "build/examples/IntegerArithmetic"], stdout = outf, stderr = outf) self.assertEqual(r, 0) with open("deepstate.out", 'r') as outf: