From ab0d6919707349436edd336bbfa8f433bd6e6749 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 9 Feb 2018 15:00:16 +0200 Subject: Fix broken test (and few other things) --- tests/test/script/generated/buildfile | 2 +- tests/test/script/generated/driver.cxx | 11 ----------- tests/test/script/generated/testscript | 7 +------ tests/test/script/generated/testscript.in | 2 +- 4 files changed, 3 insertions(+), 19 deletions(-) delete mode 100644 tests/test/script/generated/driver.cxx (limited to 'tests/test/script') diff --git a/tests/test/script/generated/buildfile b/tests/test/script/generated/buildfile index c27b49d..524be44 100644 --- a/tests/test/script/generated/buildfile +++ b/tests/test/script/generated/buildfile @@ -5,4 +5,4 @@ # Test generated testscripts. # -./: test{testscript} $b file{*.cxx +*.in} +./: test{testscript} $b file{*.in} diff --git a/tests/test/script/generated/driver.cxx b/tests/test/script/generated/driver.cxx deleted file mode 100644 index e155462..0000000 --- a/tests/test/script/generated/driver.cxx +++ /dev/null @@ -1,11 +0,0 @@ -// file : tests/test/script/generated/driver.cxx -*- C++ -*- -// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd -// license : MIT; see accompanying LICENSE file - -#include - -int -main () -{ - std::cout << "1.2.3" << std::endl; -} diff --git a/tests/test/script/generated/testscript b/tests/test/script/generated/testscript index 572c73f..8b9d2ab 100644 --- a/tests/test/script/generated/testscript +++ b/tests/test/script/generated/testscript @@ -19,16 +19,11 @@ name: test version: 1.2.3 EOI -+cat <=build/root.build -using cxx -EOI - : testscript : -ln -s $src_base/driver.cxx ./; ln -s $src_base/testscript.in ./; $* <'@version@' +echo '@version@' >'1.2.3' -- cgit v1.1