aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Ávila de Espíndola <rafael@espindo.la>2018-07-25 22:20:56 -0700
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2018-07-27 06:36:04 -0700
commit941d2c273ae8f43f9346480e095a7ebaadb76295 (patch)
treeb2e1480e248813ba6a46fe47399923d4ed7b9f4b
parent8c735069b36b5e1ad1a2f3feac3d67e2bad492b7 (diff)
downloadmeson-941d2c273ae8f43f9346480e095a7ebaadb76295.zip
meson-941d2c273ae8f43f9346480e095a7ebaadb76295.tar.gz
meson-941d2c273ae8f43f9346480e095a7ebaadb76295.tar.bz2
Move test from common to unit.
When I initially added the test the intention was to use it from run_unittests.py only, but I placed it in the wrong directory.
-rwxr-xr-xrun_unittests.py2
-rw-r--r--test cases/unit/36 dep order/lib1.c (renamed from test cases/common/206 dep order/lib1.c)0
-rw-r--r--test cases/unit/36 dep order/lib2.c (renamed from test cases/common/206 dep order/lib2.c)0
-rw-r--r--test cases/unit/36 dep order/meson.build (renamed from test cases/common/206 dep order/meson.build)0
-rw-r--r--test cases/unit/36 dep order/myexe.c (renamed from test cases/common/206 dep order/myexe.c)0
5 files changed, 1 insertions, 1 deletions
diff --git a/run_unittests.py b/run_unittests.py
index 1e5ce99..66d663a 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -3591,7 +3591,7 @@ endian = 'little'
'''
Test that the dependencies are always listed in a deterministic order.
'''
- testdir = os.path.join(self.common_test_dir, '206 dep order')
+ testdir = os.path.join(self.unit_test_dir, '36 dep order')
self.init(testdir)
with open(os.path.join(self.builddir, 'build.ninja')) as bfile:
for line in bfile:
diff --git a/test cases/common/206 dep order/lib1.c b/test cases/unit/36 dep order/lib1.c
index e69de29..e69de29 100644
--- a/test cases/common/206 dep order/lib1.c
+++ b/test cases/unit/36 dep order/lib1.c
diff --git a/test cases/common/206 dep order/lib2.c b/test cases/unit/36 dep order/lib2.c
index e69de29..e69de29 100644
--- a/test cases/common/206 dep order/lib2.c
+++ b/test cases/unit/36 dep order/lib2.c
diff --git a/test cases/common/206 dep order/meson.build b/test cases/unit/36 dep order/meson.build
index 17cf9df..17cf9df 100644
--- a/test cases/common/206 dep order/meson.build
+++ b/test cases/unit/36 dep order/meson.build
diff --git a/test cases/common/206 dep order/myexe.c b/test cases/unit/36 dep order/myexe.c
index 8f4c045..8f4c045 100644
--- a/test cases/common/206 dep order/myexe.c
+++ b/test cases/unit/36 dep order/myexe.c