summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/tools/pytest/testing/cx_freeze/runtests_script.py
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/tools/pytest/testing/cx_freeze/runtests_script.py')
-rw-r--r--testing/web-platform/tests/tools/pytest/testing/cx_freeze/runtests_script.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/web-platform/tests/tools/pytest/testing/cx_freeze/runtests_script.py b/testing/web-platform/tests/tools/pytest/testing/cx_freeze/runtests_script.py
new file mode 100644
index 000000000..f2b032d76
--- /dev/null
+++ b/testing/web-platform/tests/tools/pytest/testing/cx_freeze/runtests_script.py
@@ -0,0 +1,9 @@
+"""
+This is the script that is actually frozen into an executable: simply executes
+py.test main().
+"""
+
+if __name__ == '__main__':
+ import sys
+ import pytest
+ sys.exit(pytest.main()) \ No newline at end of file