aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2018-04-15 17:18:44 +0300
committerGitHub <noreply@github.com>2018-04-15 17:18:44 +0300
commit86f725c1e523088c691432c608b3228499ca3c7b (patch)
tree30ee3be8b01895023d4a94d56f10000e11f1de10 /run_unittests.py
parentaff597fb99a77b8c1211e30f712f223d6d99587c (diff)
parentdfac0ce8d7db2d445fab71410c37a4c3285ec45a (diff)
downloadmeson-86f725c1e523088c691432c608b3228499ca3c7b.zip
meson-86f725c1e523088c691432c608b3228499ca3c7b.tar.gz
meson-86f725c1e523088c691432c608b3228499ca3c7b.tar.bz2
Merge pull request #3115 from makise-homura/e2k-lcc-support
Support lcc compiler for e2k (Elbrus) architecture
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-xrun_unittests.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/run_unittests.py b/run_unittests.py
index 0f9abcb..8bd5ae8 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -1346,7 +1346,8 @@ class AllPlatformTests(BasePlatformTests):
# \n is never substituted by the GNU pre-processor via a -D define
# ' and " confuse shlex.split() even when they are escaped
# % and # confuse the MSVC preprocessor
- value = 'spaces and fun!@$^&*()-=_+{}[]:;<>?,./~`'
+ # !, ^, *, and < confuse lcc preprocessor
+ value = 'spaces and fun@$&()-=_+{}[]:;>?,./~`'
os.environ['CPPFLAGS'] = '-D{}="{}"'.format(define, value)
os.environ['CFLAGS'] = '-DMESON_FAIL_VALUE=cflags-read'.format(define)
self.init(testdir, ['-D{}={}'.format(define, value)])
@@ -2817,7 +2818,7 @@ endian = 'little'
def test_reconfigure(self):
testdir = os.path.join(self.unit_test_dir, '13 reconfigure')
- self.init(testdir, ['-Db_lto=true'], default_args=False)
+ self.init(testdir, ['-Db_coverage=true'], default_args=False)
self.build('reconfigure')
def test_vala_generated_source_buildir_inside_source_tree(self):