aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/186 test depends/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/186 test depends/test.py')
-rwxr-xr-xmeson/test cases/common/186 test depends/test.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/meson/test cases/common/186 test depends/test.py b/meson/test cases/common/186 test depends/test.py
new file mode 100755
index 000000000..5b9f65c86
--- /dev/null
+++ b/meson/test cases/common/186 test depends/test.py
@@ -0,0 +1,20 @@
+#!/usr/bin/env python3
+
+import os
+import os.path
+import sys
+
+
+def main():
+ print('Looking in:', os.getcwd())
+ not_found = list()
+ for f in sys.argv[1:]:
+ if not os.path.exists(f):
+ not_found.append(f)
+ if not_found:
+ print('Not found:', ', '.join(not_found))
+ sys.exit(1)
+
+
+if __name__ == '__main__':
+ main()