change to the right directory before running nose

This commit is contained in:
Alex Groce
2018-07-12 22:08:54 -07:00
parent 882cda798c
commit c1616cf179
2 changed files with 2 additions and 1 deletions

View File

@@ -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: