aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-03-09 21:45:34 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-03-11 00:39:22 +0300
commit891d13075769cbe1c50be3acd191359490b0af9a (patch)
tree0e360ffa8925b35499afcdeea1e9771adc2d190c
parentd932899aa393e36f59ddc0480f2675a340f7960c (diff)
Optimize testscripts not to search for subprojects
-rw-r--r--tests/bash/testscript2
-rw-r--r--tests/common.testscript1
-rw-r--r--tests/test/common.testscript1
-rw-r--r--tests/test/script/common.testscript1
4 files changed, 5 insertions, 0 deletions
diff --git a/tests/bash/testscript b/tests/bash/testscript
index a0ac6e3..09bd989 100644
--- a/tests/bash/testscript
+++ b/tests/bash/testscript
@@ -13,6 +13,8 @@ if ($test.target == $build.host && $build.host.class != 'windows')
.include ../common.testscript
+cat <<EOI >+build/bootstrap.build
+ subprojects = sub.bash
+
using test
using install
EOI
diff --git a/tests/common.testscript b/tests/common.testscript
index 4e3b417..b3f0393 100644
--- a/tests/common.testscript
+++ b/tests/common.testscript
@@ -29,6 +29,7 @@ end
+cat <<EOI >=build/bootstrap.build
project = test
amalgamation =
+subprojects =
EOI
test.options += --no-default-options --serial-stop --quiet
diff --git a/tests/test/common.testscript b/tests/test/common.testscript
index 23d004d..49c0640 100644
--- a/tests/test/common.testscript
+++ b/tests/test/common.testscript
@@ -9,6 +9,7 @@
+cat <<EOI >=build/bootstrap.build
project = test
amalgamation =
+subprojects =
using test
EOI
diff --git a/tests/test/script/common.testscript b/tests/test/script/common.testscript
index 51a9c84..4469d1c 100644
--- a/tests/test/script/common.testscript
+++ b/tests/test/script/common.testscript
@@ -9,6 +9,7 @@
+cat <<"EOI" >=build/bootstrap.build
project = test
amalgamation =
+subprojects =
using test
EOI