diff options
author | makise-homura <akemi_homura@kurisa.ch> | 2018-03-21 19:16:02 +0300 |
---|---|---|
committer | makise-homura <akemi_homura@kurisa.ch> | 2018-03-21 19:16:02 +0300 |
commit | e8dff792d60f7261ad59a9fa5b840e47ff5e3474 (patch) | |
tree | 2146fe1302a5ae86f93eb18a7e6d2b9eea653c64 | |
parent | 86fa9b133d94d6d714c7d2e2c81651f9ff9bc87f (diff) | |
download | meson-e8dff792d60f7261ad59a9fa5b840e47ff5e3474.zip meson-e8dff792d60f7261ad59a9fa5b840e47ff5e3474.tar.gz meson-e8dff792d60f7261ad59a9fa5b840e47ff5e3474.tar.bz2 |
Removed some confusing chars from 'spaces and fun'
For example, lcc does not understand !, ^, *, and <.
-rwxr-xr-x | run_unittests.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/run_unittests.py b/run_unittests.py index b42937b..c59c7bf 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -1264,7 +1264,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)]) |