8000 fix makefile · dragoncoder047/pickle@cbef015 · GitHub
[go: up one dir, main page]

Skip to content

Commit cbef015

Browse files
fix makefile
1 parent 69a5245 commit cbef015

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# need to set up AFL once parser is written https://medium.com/@ayushpriya10/fuzzing-applications-with-american-fuzzy-lop-afl-54facc65d102
22

3-
ifeq ($(OS),MacOS)
3+
ifneq ($(shell uname -s),Darwin)
44
.PHONY: test64 builtest64 valgrind64 clean test32 buildtest32 valgrind32 deps show checkleaks
55

66
test: buildtest64 valgrind64 buildtest32 valgrind32 clean checkleaks
@@ -59,7 +59,7 @@ buildtest:
5959
$(CXX) $(CXXFLAGS) pickle_test.cpp -o pickletest
6060

6161
valgrind: buildtest
62-
MallocStackLogging=1 leaks $(VALGRINDOPTS) -- ./pickletest > test/outMac.txt 2>&1
62+
tmpf=`mktemp stderr.XXX`; MallocStackLogging=1 leaks $(VALGRINDOPTS) -- ./pickletest > test/outMac.txt 2>"$$tmpf"; cat "$$tmpf" >>test/outMac.txt; rm $$tmpf
6363

6464
clean:
6565
$(RM) -f pickletest

test/outMac.txt

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
0