We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6afd4b8 commit 6ecfbdeCopy full SHA for 6ecfbde
1 file changed
test/run
@@ -9,7 +9,14 @@ test/test-setup # create a patched django for test purposes, and more
9
10
test/run-pyflakes ietf
11
12
-PYTHONPATH=test/lib python ietf/manage.py test # run tests with our patched django
+# Trap keyboard interrupt to ensure the test/teardown is run if we interrupt the tests
13
+trap 'echo "$program($LINENO): Caught Interrupt"' INT
14
+
15
+# run tests with our patched django
16
+PYTHONPATH=test/lib python ietf/manage.py test
17
18
+# reset keyboard interrupt trap
19
+trap INT
20
21
test/test-teardown
22
0 commit comments