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/common.test | 45 --------------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 tests/common.test (limited to 'tests/common.test') diff --git a/tests/common.test b/tests/common.test deleted file mode 100644 index 586e793..0000000 --- a/tests/common.test +++ /dev/null @@ -1,45 +0,0 @@ -# file : tests/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. -# - -# If the includer indicated that no cross-testing should be supported, then -# use the build system driver that is building, not the one being built. -# -# In many cases expecting a cross-compiled driver to perform a native build -# under emulation is pushing things a bit too far. Plus, we have no way of -# knowing the native compiler name/path. -# -# So the idea here is to test cross-compilation with the understanding that -# the build system driver we are testing is not the one being cross-compiled -# but rather the one doing the cross-compilation. -# -if ($null($crosstest)) - crosstest = true -end - -if (!$crosstest && $test.target != $build.host) - test = $recall($build.path) -end - -# Common bootstrap.build. -# -+mkdir build -+cat <=build/bootstrap.build -project = test -amalgamation = -EOI - -test.options += --serial-stop --quiet - -if ($null($buildfile) || !$buildfile) - test.options += --buildfile - -end - -# By default just load the buildfile. -# -if ($null($test.arguments)) - test.arguments = noop -end -- cgit v1.1