aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Pesch <inolen@gmail.com>2013-09-29 15:00:41 -0700
committerAnthony Pesch <inolen@gmail.com>2013-09-29 15:00:41 -0700
commit2725cfa316f2749fa6dbedc34e23f5445dfbcf7f (patch)
tree69e3949aaf739eabe22ce420d9aefb3a3660b202
parent61221f3dd86360875f1a6ece4aebaa0a20bc025c (diff)
- append to Building.COMPILER_TEST_OPTS for unistd tests
-rw-r--r--tests/test_core.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/test_core.py b/tests/test_core.py
index f41d59ab..f51c1691 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -7752,7 +7752,7 @@ def process(filename):
for fs in ['MEMFS', 'NODEFS']:
src = open(path_from_root('tests', 'unistd', 'access.c'), 'r').read()
expected = open(path_from_root('tests', 'unistd', 'access.out'), 'r').read()
- Building.COMPILER_TEST_OPTS = ['-D' + fs]
+ Building.COMPILER_TEST_OPTS += ['-D' + fs]
self.do_run(src, expected)
def test_unistd_curdir(self):
@@ -7792,7 +7792,7 @@ def process(filename):
for fs in ['MEMFS', 'NODEFS']:
src = open(path_from_root('tests', 'unistd', 'truncate.c'), 'r').read()
expected = open(path_from_root('tests', 'unistd', 'truncate.out'), 'r').read()
- Building.COMPILER_TEST_OPTS = ['-D' + fs]
+ Building.COMPILER_TEST_OPTS += ['-D' + fs]
self.do_run(src, expected)
def test_unistd_swab(self):
@@ -7817,7 +7817,7 @@ def process(filename):
def test_unistd_unlink(self):
for fs in ['MEMFS', 'NODEFS']:
src = open(path_from_root('tests', 'unistd', 'unlink.c'), 'r').read()
- Building.COMPILER_TEST_OPTS = ['-D' + fs]
+ Building.COMPILER_TEST_OPTS += ['-D' + fs]
self.do_run(src, 'success', force_c=True)
def test_unistd_links(self):
@@ -7826,7 +7826,7 @@ def process(filename):
for fs in ['MEMFS', 'NODEFS']:
src = open(path_from_root('tests', 'unistd', 'links.c'), 'r').read()
expected = open(path_from_root('tests', 'unistd', 'links.out'), 'r').read()
- Building.COMPILER_TEST_OPTS = ['-D' + fs]
+ Building.COMPILER_TEST_OPTS += ['-D' + fs]
self.do_run(src, expected)
def test_unistd_sleep(self):
@@ -7841,14 +7841,14 @@ def process(filename):
for fs in ['MEMFS', 'NODEFS']:
src = open(path_from_root('tests', 'unistd', 'io.c'), 'r').read()
expected = open(path_from_root('tests', 'unistd', 'io.out'), 'r').read()
- Building.COMPILER_TEST_OPTS = ['-D' + fs]
+ Building.COMPILER_TEST_OPTS += ['-D' + fs]
self.do_run(src, expected)
def test_unistd_misc(self):
for fs in ['MEMFS', 'NODEFS']:
src = open(path_from_root('tests', 'unistd', 'misc.c'), 'r').read()
expected = open(path_from_root('tests', 'unistd', 'misc.out'), 'r').read()
- Building.COMPILER_TEST_OPTS = ['-D' + fs]
+ Building.COMPILER_TEST_OPTS += ['-D' + fs]
self.do_run(src, expected)
def test_uname(self):