Bug fixes.

This commit is contained in:
David Anderson
2014-07-03 00:14:12 -07:00
parent 86cd906371
commit ed4cca0225
5 changed files with 31 additions and 13 deletions
@@ -23,6 +23,9 @@ stock E(E2 t)
{
}
stock F(int n[10]) {
}
public main()
{
new x[10]
@@ -31,4 +34,5 @@ public main()
C(x)
D(E1:5)
E(E2:5)
F(x)
}
+1 -1
View File
@@ -22,7 +22,7 @@ def run_tests(args):
kind = 'pass'
try:
argv = [args.spcomp, os.path.join(testdir, test + '.sp')]
argv = [os.path.abspath(args.spcomp), os.path.join(testdir, test + '.sp')]
p = subprocess.Popen(argv, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout, stderr = p.communicate()
stdout = stdout.decode('utf-8')