From 16b17383c40622af0cced6b076a73d98ce2ed0ee Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 4 Jul 2020 16:49:22 +0300 Subject: Fix testscript failing with 'not built with default C++ compiler' error --- tests/init.testscript | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests/init.testscript') diff --git a/tests/init.testscript b/tests/init.testscript index 3b85ea5..f52de21 100644 --- a/tests/init.testscript +++ b/tests/init.testscript @@ -89,6 +89,14 @@ deinit += -d prj { $clone_prj; + # Note that not passing the C++ configuration arguments (see above) for + # the sake of testing, we may end up with the 'not built with default C++ + # compiler' error. To avoid this, we just make sure this is not a C++ + # project. + # + echo '' >=prj/build/root.build; + echo './: prj.cxx' >=prj/prj/buildfile; + $* -C @cfg -- -- '?sys:libprj/*' 2>>/~"%EOE%" &prj-cfg/***; initializing in project $~/prj/ created configuration @cfg $~/prj-cfg/ 1 default,forwarded,auto-synchronized -- cgit v1.1