summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/internal/winmake.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/internal/winmake.py b/scripts/internal/winmake.py
index 7b70404a..82e99d96 100755
--- a/scripts/internal/winmake.py
+++ b/scripts/internal/winmake.py
@@ -380,6 +380,18 @@ def test_by_name():
@cmd
+def test_script():
+ """Quick way to test a script"""
+ try:
+ print(sys.argv)
+ name = sys.argv[2]
+ except IndexError:
+ sys.exit('second arg missing')
+ install()
+ sh("%s %s" % (PYTHON, name))
+
+
+@cmd
def test_memleaks():
"""Run memory leaks tests"""
install()