summaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-03-16 18:36:25 -0400
committerEli Schwartz <eschwartz@archlinux.org>2022-03-16 18:39:02 -0400
commit4b0c0810df8e0fae9529d879539b8926b5b278a3 (patch)
tree31f11e73e0141678e8f60e4c16ba492215733f91 /test cases
parentff844f3a1fd0cac31e2f61add59393b16548c97c (diff)
downloadmeson-4b0c0810df8e0fae9529d879539b8926b5b278a3.tar.gz
unittests: convert python tests to project tests
Perhaps when this test case was originally created, project tests could not use a matrix of options? This is certainly possible today, so don't write special unittest handling for this instead. This adds proper visibility into what gets run and what doesn't. Now we know which python executables got tested and which got skipped.
Diffstat (limited to 'test cases')
-rwxr-xr-xtest cases/python/8 different python versions/blaster.py (renamed from test cases/unit/39 python extmodule/blaster.py)0
-rw-r--r--test cases/python/8 different python versions/ext/meson.build (renamed from test cases/unit/39 python extmodule/ext/meson.build)0
-rw-r--r--test cases/python/8 different python versions/ext/tachyon_module.c (renamed from test cases/unit/39 python extmodule/ext/tachyon_module.c)0
-rw-r--r--test cases/python/8 different python versions/meson.build (renamed from test cases/unit/39 python extmodule/meson.build)0
-rw-r--r--test cases/python/8 different python versions/meson_options.txt (renamed from test cases/unit/39 python extmodule/meson_options.txt)0
-rw-r--r--test cases/python/8 different python versions/test.json13
6 files changed, 13 insertions, 0 deletions
diff --git a/test cases/unit/39 python extmodule/blaster.py b/test cases/python/8 different python versions/blaster.py
index 163b6d426..163b6d426 100755
--- a/test cases/unit/39 python extmodule/blaster.py
+++ b/test cases/python/8 different python versions/blaster.py
diff --git a/test cases/unit/39 python extmodule/ext/meson.build b/test cases/python/8 different python versions/ext/meson.build
index b13bb326f..b13bb326f 100644
--- a/test cases/unit/39 python extmodule/ext/meson.build
+++ b/test cases/python/8 different python versions/ext/meson.build
diff --git a/test cases/unit/39 python extmodule/ext/tachyon_module.c b/test cases/python/8 different python versions/ext/tachyon_module.c
index 68eda5380..68eda5380 100644
--- a/test cases/unit/39 python extmodule/ext/tachyon_module.c
+++ b/test cases/python/8 different python versions/ext/tachyon_module.c
diff --git a/test cases/unit/39 python extmodule/meson.build b/test cases/python/8 different python versions/meson.build
index 5b443944b..5b443944b 100644
--- a/test cases/unit/39 python extmodule/meson.build
+++ b/test cases/python/8 different python versions/meson.build
diff --git a/test cases/unit/39 python extmodule/meson_options.txt b/test cases/python/8 different python versions/meson_options.txt
index c85110d03..c85110d03 100644
--- a/test cases/unit/39 python extmodule/meson_options.txt
+++ b/test cases/python/8 different python versions/meson_options.txt
diff --git a/test cases/python/8 different python versions/test.json b/test cases/python/8 different python versions/test.json
new file mode 100644
index 000000000..fe75a1c26
--- /dev/null
+++ b/test cases/python/8 different python versions/test.json
@@ -0,0 +1,13 @@
+{
+ "matrix": {
+ "options": {
+ "python": [
+ { "val": null },
+ { "val": "python2" },
+ { "val": "python3" },
+ { "val": "pypy" },
+ { "val": "pypy3" }
+ ]
+ }
+ }
+}