We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40d4dc2 commit c8e6d8bCopy full SHA for c8e6d8b
run_tests.py
@@ -0,0 +1,17 @@
1
+#!/usr/bin/env python
2
+import sys
3
+import pytest
4
+import os
5
+
6
+if __name__ == '__main__':
7
+ # show output results from every test function
8
+ args = ['-v']
9
+ # show the message output for skipped and expected failure tests
10
+ if len(sys.argv) > 1:
11
+ args.extend(sys.argv[1:])
12
+ print('pytest arguments: {}'.format(args))
13
+ # # compute coverage stats for xpdAcq
14
+ # call pytest and exit with the return code from pytest so that
15
+ # travis will fail correctly if tests fail
16
+ exit_res = pytest.main(args)
17
+ sys.exit(exit_res)
0 commit comments