File: run_tests.cmd

package info (click to toggle)
pycxx 5.4.1-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 660 kB
  • ctags: 1,292
  • sloc: cpp: 2,333; python: 205; makefile: 80; ansic: 22; sh: 9
file content (12 lines) | stat: -rw-r--r-- 303 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
setlocal

set PY_MAJ=2
if not "%1" == "" set PY_MAJ=%1
set PY_MIN=5
if not "%2" == "" set PY_MIN=%2

set PYTHONPATH=pyds%PY_MAJ%%PY_MIN%
c:\python%PY_MAJ%%PY_MIN%\python Demo\test_example.py

if exist pyds%PY_MAJ%%PY_MIN%\pycxx_iter.pyd c:\python%PY_MAJ%%PY_MIN%\python Demo\test_pycxx_iter.py
endlocal