Skip to content

Commit

Permalink
checks only parsing, not pretty-printing
Browse files Browse the repository at this point in the history
git-svn-id: https://slps.svn.sourceforge.net/svnroot/slps@200 ab42f6e0-554d-0410-b580-99e487e6eeb2
  • Loading branch information
grammarware committed Aug 21, 2008
1 parent 53a773a commit 0e1003d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions topics/convergence/lci/lci.py
Expand Up @@ -430,14 +430,9 @@ def runtestset():
# parse otherwise
results = {}
for program in implementations.keys():
run = expanduni(implementations[program][0]+' '+testcase[0]+' '+testcase[0]+'.parsed',{})
run = expanduni(implementations[program][0]+' '+testcase[0],{})
logwrite(run)
results[program]=os.system(run+shutup)
if not results[program]:
# parsed successfully, let's check the result
run = 'diff '+testcase[0]+' '+testcase[0]+'.parsed'
logwrite(run)
results[program]=os.system(run+shutup)
print 'Test case',testcase[0].replace('testset/sample',''),
if results.values()==[0]*len(implementations):
# all zeros
Expand Down

0 comments on commit 0e1003d

Please sign in to comment.