From f774eabac532ac5c1aadb8fe0c571796a09d4e68 Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Tue, 12 Jun 2018 09:04:43 +0200 Subject: [PATCH] Fix test script to be able to work with prj.default --- Tests/ci-tests.bash | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Tests/ci-tests.bash b/Tests/ci-tests.bash index ef12d327f..bdbbba456 100644 --- a/Tests/ci-tests.bash +++ b/Tests/ci-tests.bash @@ -5,7 +5,10 @@ cp -v /opt/clean/etc/IDEEnvs{,.bak} sed -i "s|{Application}/lib/iTasks|$(pwd)/Libraries|g" /opt/clean/etc/IDEEnvs #Try to compile everything +find . -name "*.prj.default" | while read f; do + mv "$f" "$(dirname $f)/$(basename -s .prj.default $f)".prj + done find . -name "*.prj" | xargs dirname | sort -u | xargs -I{} sh -c "cd {}; cpm make" #Run the tests -( cd Tools; ./RunUnitTestsForCi; ) +( cd Tools; ./RunUnitTestsForCI; ) -- GitLab