aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-08-19 23:07:45 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2017-08-20 18:10:34 +0300
commite02f1dc809c7835a3935c8ac4a457d93f4b358d6 (patch)
treea5caf97d200adfc8116a012646af46dac9084917 /run_unittests.py
parentece243d9abe101536d509c814557ae8e09ed9d60 (diff)
downloadmeson-e02f1dc809c7835a3935c8ac4a457d93f4b358d6.zip
meson-e02f1dc809c7835a3935c8ac4a457d93f4b358d6.tar.gz
meson-e02f1dc809c7835a3935c8ac4a457d93f4b358d6.tar.bz2
Remove PHONY because Windows and OSX file systems are crap. Closes #2199.
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-xrun_unittests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/run_unittests.py b/run_unittests.py
index b889c3d..666777d 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -1288,6 +1288,9 @@ int main(int argc, char **argv) {
targets = mesonbuild.coredata.forbidden_target_names
# We don't actually define a target with this name
targets.pop('build.ninja')
+ # Remove this to avoid multiple entries with the same name
+ # but different case.
+ targets.pop('PHONY')
for i in targets:
self.assertPathExists(os.path.join(testdir, i))