Skip to content

Commit e385867

Browse files
committed
Update tests
1 parent 85ee346 commit e385867

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

Makefile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,12 @@ clean:
4545
rm -rf build dist logdissect.egg-info
4646

4747
test:
48-
tests/tests.sh
48+
@echo Running diff tests for time
49+
@echo
50+
sh -c 'time tests/tests.sh'
51+
@echo
52+
@echo - There should be no errors.
53+
@echo - Times should be below 0m0.400s on an i3 for Python 2.
54+
@echo - Times should be below 0m0.800s on an i3 for Python 3.
55+
@echo - Diff results should be empty.
56+
@echo

tests/tests.sh

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,6 @@
2525
# NOTE: This script runs the dev testing suite located in devtest/
2626
# Run it after changes to make sure everything still works.
2727

28-
echo Running diff tests for time
29-
time tests/difftests.sh > tests/files/diffresults.log
28+
tests/difftests.sh > tests/files/diffresults.log
3029

31-
echo
32-
echo Diff for diff tests:
3330
diff tests/files/diffresults.log tests/files/diffexresults
34-
35-
echo
36-
echo - There should be no errors.
37-
echo - Times should be below 0m0.400s on an i3 for Python 2.
38-
echo - Times should be below 0m0.800s on an i3 for Python 3.
39-
echo - Diff results should be empty.

0 commit comments

Comments
 (0)