aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/unit/49 testsetup default/envcheck.py
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/unit/49 testsetup default/envcheck.py')
-rw-r--r--meson/test cases/unit/49 testsetup default/envcheck.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/meson/test cases/unit/49 testsetup default/envcheck.py b/meson/test cases/unit/49 testsetup default/envcheck.py
new file mode 100644
index 000000000..6ba3093ff
--- /dev/null
+++ b/meson/test cases/unit/49 testsetup default/envcheck.py
@@ -0,0 +1,11 @@
+#!/usr/bin/env python3
+
+import os
+
+assert('ENV_A' in os.environ)
+assert('ENV_B' in os.environ)
+assert('ENV_C' in os.environ)
+
+print('ENV_A is', os.environ['ENV_A'])
+print('ENV_B is', os.environ['ENV_B'])
+print('ENV_C is', os.environ['ENV_C'])