Skip to content

Commit

Permalink
Merge pull request firemodels#2172 from gforney/master
Browse files Browse the repository at this point in the history
checker: add test for platform when running checker script
  • Loading branch information
gforney authored Jan 21, 2025
2 parents 7b6ca7b + e91a662 commit 1883499
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Build/smokeview/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ gnu_linux_64_check : $(src)

# ------------- linux_osx_check ----------------

linux_osx_check : CFLAGS =
linux_osx_check : CFLAGS = $(SMV_TESTFLAG)
linux_osx_check : $(linux_osx_chk)
$(CLANGSUMMARY) smokeview.summary

Expand Down
10 changes: 9 additions & 1 deletion Build/smokeview/check/check_smokeview.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
#!/bin/bash

eval make -j 8 -f ../Makefile linux_osx_check
if [ "`uname`" == "Darwin" ] ; then
platform="osx"
PLATFORM="SMV_TESTFLAG=\"-D pp_OSX\""
else
platform="linux"
PLATFORM="SMV_TESTFLAG=\"-D pp_LINUX\""
fi

eval make -j 8 $PLATFORM -f ../Makefile linux_osx_check

0 comments on commit 1883499

Please sign in to comment.