Skip to content

Commit 58f9e50

Browse files
committed
Add, revise .bat files for Windows
Add pma.bat pmg.bat pmt.bat pmv.bat trun.bat wsgirunner.bat so we can just invoke commands pmt ... instead of pmt.py ... etc. Also, fix broken tpath.bat - use ; (not unix :) to separate directories Also (unrelated to Windows) in www/index.html add new 'view the graphs' links
1 parent 7411b65 commit 58f9e50

8 files changed

Lines changed: 29 additions & 3 deletions

File tree

pymodel/pma.bat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@echo off
2+
rem Make it possible to command just pma instead of pma.py
3+
pma.py %1 %2 %3 %4 %5 %6 %7 %8 %9
4+

pymodel/pmg.bat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@echo off
2+
rem Make it possible to command just pmg instead of pmg.py
3+
pmg.py %1 %2 %3 %4 %5 %6 %7 %8 %9
4+

pymodel/pmt.bat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@echo off
2+
rem Make it possible to command just pmt instead of pmt.py
3+
pmt.py %1 %2 %3 %4 %5 %6 %7 %8 %9
4+

pymodel/pmv.bat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@echo off
2+
rem Make it possible to command just pmv instead of pmv.py
3+
pmv.py %1 %2 %3 %4 %5 %6 %7 %8 %9
4+

pymodel/tpath.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
@echo off
22
rem Enable tools in this directory to import modules in current,test directories
3-
set PYTHONPATH=.:..:test:tests:%PYTHONPATH%
3+
set PYTHONPATH=.;..;test;tests;%PYTHONPATH%

pymodel/trun.bat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@echo off
2+
rem Make it possible to command just trun instead of trun.py
3+
trun.py %1 %2 %3 %4 %5 %6 %7 %8 %9
4+

pymodel/wsgirunner.bat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@echo off
2+
rem Make it possible to command just wsgirunner instead of wsgirunner.py
3+
wsgirunner.py %1 %2 %3 %4 %5 %6 %7 %8 %9
4+

www/index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,10 @@ <h2>PyModel: Model-based testing in Python</h2>
6767
For more information, peruse the <a href="../talks">talks</a>,
6868
read the <a href="concepts.html">overview</a> and
6969
the more detailed <a href="../notes">notes</a>, browse
70-
the <a href="../pymodel">code</a>, or try
71-
the <a href="../samples">samples</a>.
70+
the <a href="../pymodel">code</a>,
71+
view the <a href="../samples/Stack/svg">graphs</a>
72+
(<a href="../samples/WebApplication/svg">etc.</a>)
73+
or try the <a href="../samples">samples</a>.
7274

7375
<p>
7476
Here are the <a href="../talks/pymodel-nwpd10.pdf">slides</a> for

0 commit comments

Comments
 (0)