Skip to content

Commit

Permalink
print compiler versions if available
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmjacobs committed Sep 17, 2023
1 parent fe0a8a8 commit ff0bb69
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test.sh
Expand Up @@ -3,9 +3,9 @@
# Ensure files are loaded relative to test.sh
cd "$(dirname "$BASH_SOURCE")"

>&2 echo "CC: $CC"
>&2 echo "CXX: $CXX"
>&2 echo "FC: $FC"
[ -n "$CC" ] && "$CC" --version
[ -n "$CXX" ] && "$CXX" --version
[ -n "$FC" ] && "$FC" --version

# Load helpers
source "./test_helpers.sh"
Expand Down

0 comments on commit ff0bb69

Please sign in to comment.