Homework 05: Initial Import
This commit is contained in:
parent
6cfb927838
commit
0ea62d069c
3 changed files with 217 additions and 0 deletions
27
homework05/Makefile
Normal file
27
homework05/Makefile
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
test:
|
||||
@$(MAKE) -sk test-all
|
||||
|
||||
test-all: test-searx test-hulk
|
||||
|
||||
test-data:
|
||||
@curl -sLO https://www3.nd.edu/~pbui/teaching/cse.20289.sp25/static/txt/homework05/hulk.hashes
|
||||
@echo "*.hashes" > .gitignore
|
||||
@echo "*.test" >> .gitignore
|
||||
|
||||
test-scripts: test-data
|
||||
@curl -sLO https://www3.nd.edu/~pbui/teaching/cse.20289.sp25/static/txt/homework05/searx.test
|
||||
@curl -sLO https://www3.nd.edu/~pbui/teaching/cse.20289.sp25/static/txt/homework05/hulk.test
|
||||
@chmod +x ./*.test
|
||||
|
||||
test-searx: test-scripts searx.py
|
||||
@echo Testing SearX ...
|
||||
@./searx.test -v
|
||||
@echo
|
||||
|
||||
test-hulk: test-scripts hulk.py
|
||||
@echo Testing Hulk ...
|
||||
@./hulk.test -v
|
||||
@echo
|
||||
|
||||
clean:
|
||||
@rm -f *.test *.hashes
|
||||
Loading…
Reference in a new issue