Skip to content

Commit

Permalink
Revise scripts for code gen tests
Browse files Browse the repository at this point in the history
Avoid name clash that seems to have appeared with a recent
Scala version.
  • Loading branch information
bocchino committed Aug 27, 2024
1 parent 3ebe028 commit a4b5c68
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
8 changes: 5 additions & 3 deletions compiler/lib/test/codegen/CppWriter/run
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
#!/bin/sh

cd `dirname $0`

. ../../../../scripts/test-utils.sh

cpp_doc_ok()
{
./hpp > C.hpp && \
./cpp > C.cpp && \
./otherCpp > Other.cpp && \
./gen_hpp > C.hpp && \
./gen_cpp > C.cpp && \
./gen_otherCpp > Other.cpp && \
gcc -c C.cpp Other.cpp
}

Expand Down

0 comments on commit a4b5c68

Please sign in to comment.