-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
28 lines (27 loc) · 812 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
test:
python3 setup.py test
cd examples/hello_world && \
PYTHONPATH=../.. \
python3 -m pyfuzzer clean && \
PYTHONPATH=../.. \
python3 -m pyfuzzer run -l max_total_time=1 hello_world.c && \
PYTHONPATH=../.. \
python3 -m pyfuzzer print_coverage && \
PYTHONPATH=../.. \
python3 -m pyfuzzer print_corpus && \
PYTHONPATH=../.. \
python3 -m pyfuzzer print_crashes
cd examples/hello_world_custom_mutator && \
PYTHONPATH=.:../.. \
python3 -m pyfuzzer run \
-l max_total_time=1 \
-m hello_world_mutator.py \
hello_world.c
cd examples/hello_world_fatal_error && \
! PYTHONPATH=../.. \
python3 -m pyfuzzer run hello_world.c && \
PYTHONPATH=../.. \
python3 -m pyfuzzer print_coverage
release-to-pypi:
python setup.py sdist
twine upload dist/*