Changes in src/tests/test.py [3eab308c:b706db1]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/test.py
r3eab308c rb706db1 31 31 # parses the Makefile to find the machine type (32-bit / 64-bit) 32 32 def getMachineType(): 33 sh('echo "void ?{}(int &a,int b){}int main(){return 0;}" > .dummy.c')33 sh('echo "void ?{}(int*a,int b){}int main(){return 0;}" > .dummy.c') 34 34 ret, out = sh("make .dummy -s", print2stdout=True) 35 35 … … 174 174 if make_ret == 0 : 175 175 # fetch optional input 176 stdinput = "< .in/%s.txt" % test.name if isfile(".in/%s.txt" % test. name) else ""176 stdinput = "< .in/%s.txt" % test.name if isfile(".in/%s.txt" % test.path) else "" 177 177 178 178 if fileIsExecutable(test.name) :
Note:
See TracChangeset
for help on using the changeset viewer.