Skip to content

Commit

Permalink
Revise code gen test
Browse files Browse the repository at this point in the history
Attempt to be compatible with Scala 3.5.0
  • Loading branch information
bocchino committed Aug 27, 2024
1 parent dbb8d18 commit d4ed1c6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion compiler/lib/test/codegen/CppWriter/cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh

scala cpp
scala repl cpp
2 changes: 1 addition & 1 deletion compiler/lib/test/codegen/CppWriter/hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh

scala hpp
scala repl hpp
2 changes: 1 addition & 1 deletion compiler/lib/test/codegen/CppWriter/otherCpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh

scala otherCpp
scala repl otherCpp
7 changes: 0 additions & 7 deletions compiler/lib/test/codegen/CppWriter/run
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@ tests="
cpp_doc_ok
"

# As of scala 3.5.0, the runner has changed
if scala --version 2>&1 | grep -q 'Scala code runner version:'
then
echo 'installed scala version is incompatible with this test'
exit 0
fi

echo 'compiling Scala source'
if ./build > build_log.txt 2>&1
then
Expand Down

0 comments on commit d4ed1c6

Please sign in to comment.