From 575ffec62e9b24513db48cd5af3a1100fc79143f Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Thu, 3 May 2018 18:56:34 +0530 Subject: [PATCH] python module: Move tests to test cases/unit The tests are only run via unit tests, so that's where they should be. --- run_unittests.py | 2 +- .../{python/1 extmodule => unit/32 python extmodule}/blaster.py | 0 .../1 extmodule => unit/32 python extmodule}/ext/meson.build | 0 .../32 python extmodule}/ext/tachyon_module.c | 0 .../1 extmodule => unit/32 python extmodule}/meson.build | 0 .../1 extmodule => unit/32 python extmodule}/meson_options.txt | 0 6 files changed, 1 insertion(+), 1 deletion(-) rename test cases/{python/1 extmodule => unit/32 python extmodule}/blaster.py (100%) rename test cases/{python/1 extmodule => unit/32 python extmodule}/ext/meson.build (100%) rename test cases/{python/1 extmodule => unit/32 python extmodule}/ext/tachyon_module.c (100%) rename test cases/{python/1 extmodule => unit/32 python extmodule}/meson.build (100%) rename test cases/{python/1 extmodule => unit/32 python extmodule}/meson_options.txt (100%) diff --git a/run_unittests.py b/run_unittests.py index 4c51bb4f9..78bb9b7b6 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -3160,7 +3160,7 @@ class PythonTests(BasePlatformTests): if self.backend is not Backend.ninja: raise unittest.SkipTest('Skipping python tests with {} backend'.format(self.backend.name)) - testdir = os.path.join(self.src_root, 'test cases', 'python', '1 extmodule') + testdir = os.path.join(self.src_root, 'test cases', 'unit', '32 python extmodule') # No python version specified, this will use meson's python self.init(testdir) diff --git a/test cases/python/1 extmodule/blaster.py b/test cases/unit/32 python extmodule/blaster.py similarity index 100% rename from test cases/python/1 extmodule/blaster.py rename to test cases/unit/32 python extmodule/blaster.py diff --git a/test cases/python/1 extmodule/ext/meson.build b/test cases/unit/32 python extmodule/ext/meson.build similarity index 100% rename from test cases/python/1 extmodule/ext/meson.build rename to test cases/unit/32 python extmodule/ext/meson.build diff --git a/test cases/python/1 extmodule/ext/tachyon_module.c b/test cases/unit/32 python extmodule/ext/tachyon_module.c similarity index 100% rename from test cases/python/1 extmodule/ext/tachyon_module.c rename to test cases/unit/32 python extmodule/ext/tachyon_module.c diff --git a/test cases/python/1 extmodule/meson.build b/test cases/unit/32 python extmodule/meson.build similarity index 100% rename from test cases/python/1 extmodule/meson.build rename to test cases/unit/32 python extmodule/meson.build diff --git a/test cases/python/1 extmodule/meson_options.txt b/test cases/unit/32 python extmodule/meson_options.txt similarity index 100% rename from test cases/python/1 extmodule/meson_options.txt rename to test cases/unit/32 python extmodule/meson_options.txt