mirror of https://github.com/openXC7/prjxray.git
Merge pull request #672 from litghost/save_logs_on_success
Save fuzzer logs, even on success.
This commit is contained in:
commit
78565b6d23
|
|
@ -154,6 +154,6 @@ echo "----------------------------------------"
|
||||||
cd fuzzers
|
cd fuzzers
|
||||||
echo
|
echo
|
||||||
echo "Cleaning up so CI doesn't save all the excess data."
|
echo "Cleaning up so CI doesn't save all the excess data."
|
||||||
make clean
|
make clean_fuzzers
|
||||||
)
|
)
|
||||||
echo "----------------------------------------"
|
echo "----------------------------------------"
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ FUZZONLY=N
|
||||||
BITONLY=N
|
BITONLY=N
|
||||||
|
|
||||||
all:
|
all:
|
||||||
|
clean: clean_fuzzers clean_logs
|
||||||
|
|
||||||
define fuzzer
|
define fuzzer
|
||||||
|
|
||||||
|
|
@ -21,8 +22,10 @@ define fuzzer
|
||||||
all: $(1)/run.ok
|
all: $(1)/run.ok
|
||||||
|
|
||||||
# Make the clean target run `make clean` in the fuzzer's directory.
|
# Make the clean target run `make clean` in the fuzzer's directory.
|
||||||
clean::
|
clean_fuzzers::
|
||||||
$$(MAKE) -C $(1) clean
|
$$(MAKE) -C $(1) clean
|
||||||
|
|
||||||
|
clean_logs::
|
||||||
rm -rf $(1)/logs
|
rm -rf $(1)/logs
|
||||||
|
|
||||||
# Describe how to create the fuzzer's run.ok file.
|
# Describe how to create the fuzzer's run.ok file.
|
||||||
|
|
@ -99,3 +102,5 @@ endif
|
||||||
|
|
||||||
quick:
|
quick:
|
||||||
$(MAKE) QUICK=Y
|
$(MAKE) QUICK=Y
|
||||||
|
|
||||||
|
.PHONY: all clean clean_fuzzers clean_logs quick
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue