From 5007870b52aa549971824959a55ad3bb886f09e0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 3 Sep 2018 16:37:32 +0200 Subject: Rename .test/test{} to .testscript/testscript{} --- tests/test/script/common.test | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 tests/test/script/common.test (limited to 'tests/test/script/common.test') diff --git a/tests/test/script/common.test b/tests/test/script/common.test deleted file mode 100644 index bf9ebba..0000000 --- a/tests/test/script/common.test +++ /dev/null @@ -1,36 +0,0 @@ -# file : tests/test/script/common.test -# copyright : Copyright (c) 2014-2018 Code Synthesis Ltd -# license : MIT; see accompanying LICENSE file - -# Commonly-used build system test project setup and driver command line -# (test module using testscript tests). -# - -+mkdir build -+cat <<"EOI" >=build/bootstrap.build -project = test -amalgamation = - -using test -EOI - -# We assume the specified target if any is in out_base which would be two -# levels up from our working directory. -# -+if! $empty($target) - cat <<"EOI" >=build/root.build - target = \$src_root/../../$string([name] $target) - test{*}: test = \$target - EOI -end - -# The "cat & build" setup: first cat ($c) the testscript, then run build ($b) -# which will execute the testscript. We have to quote stdin because of the -# command line re-expansion. -# -# Note that the buildfile is clever hack that relies on the first target -# automatically becoming dir{./}'s prerequisite. -# -c = cat >=testscript -b = $0 --serial-stop --quiet --buildfile - test <"'test{testscript}: \$target'" \ -&?test/*** -- cgit v1.1