File: runall.bat

package info (click to toggle)
wxpython3.0 3.0.2.0%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 482,760 kB
  • ctags: 518,293
  • sloc: cpp: 2,127,226; python: 294,045; makefile: 51,942; ansic: 19,033; sh: 3,013; xml: 1,629; perl: 17
file content (86 lines) | stat: -rw-r--r-- 1,580 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
echo off

rem This script runs all examples. This should be mostly for using the
rem examples as regression tests (after all tests have passed in tests
rem folder).
rem One command line argument is required, the python version number to
rem use, no dots: 24 for 2.4, 30 for 3.0, etc. 
rem
rem (C) Oliver Schoenborn 2009

set PY_VER=%1
IF "%1" EQU "" (
  SET PY_VER=26
  echo Will use Python 2.6. To use other, put version ID as command line arg
  echo Example: for Python 2.7 put 27, for 3.0 put 30, etc. 
)

set PYTHON_EXE=python
echo python exe is %PYTHON_EXE%

echo.
echo.
echo ######################## basic - kwargs - console #########################
echo.

pushd basic_kwargs
%PYTHON_EXE% console_main.py
popd
pause


echo.
echo.
echo ######################## basic - kwargs - wx #########################
echo.

pushd basic_kwargs
%PYTHON_EXE% wx_main.py
popd
pause


echo.
echo.
echo ######################## basic - arg1 - console #########################
echo.

pushd basic_arg1
%PYTHON_EXE% console_main.py
popd
pause


echo.
echo.
echo ######################## basic - arg1 - wx #########################
echo.

pushd basic_arg1
%PYTHON_EXE% wx_main.py
popd
pause


echo.
echo.
echo ######################## advanced - kwargs - console #########################
echo.

pushd advanced
%PYTHON_EXE% main_kwargs.py
popd
pause


echo.
echo.
echo ######################## advanced - arg1 - console #########################
echo.

pushd advanced
%PYTHON_EXE% main_arg1.py
popd
pause