Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a glitch in CI #498

Merged
merged 7 commits into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions compiler/lib/test/codegen/CppWriter/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
*.hpp.gch
*.o
build_log.txt
hpp_log.txt
17 changes: 13 additions & 4 deletions compiler/lib/test/codegen/CppWriter/run
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,20 @@ cpp_doc_ok
"

echo 'compiling Scala source'
if ./build > build_log.txt 2>&1
if ! ./build > build_log.txt 2>&1
then
run_suite $tests
else
echo 'compilation failed'
echo 'scalac version 2.13.1 or greater required'
echo 'see build_log.txt for details'
echo 'see build_log.txt' for details
exit 0
fi

if ! ./hpp > hpp_log.txt 2>&1
then
echo 'cannot run hpp'
echo 'scala version 3.4 or earlier is required'
echo 'see hpp_log.txt' for details
exit 0
fi

run_suite $tests
Loading