diff options
Diffstat (limited to 'cpp/test/FreezeScript/dbmap/run.py')
-rwxr-xr-x | cpp/test/FreezeScript/dbmap/run.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/cpp/test/FreezeScript/dbmap/run.py b/cpp/test/FreezeScript/dbmap/run.py index cfc160e777f..8a907ba609e 100755 --- a/cpp/test/FreezeScript/dbmap/run.py +++ b/cpp/test/FreezeScript/dbmap/run.py @@ -93,7 +93,8 @@ print "creating test database... ", sys.stdout.flush() makedb = os.path.join(directory, "makedb") + " " + directory -os.system(makedb) +if os.system(makedb) != 0: + sys.exit(1) print "ok" @@ -106,7 +107,8 @@ print "initializing test database... ", sys.stdout.flush() command = transformdb + " --old " + testold + " --new " + testold + " -f " + initxml + " " + dbdir + " default.db " + init_dbdir -os.system(command) +if os.system(command) != 0: + sys.exit(1) print "ok" @@ -123,7 +125,8 @@ print "validating database... ", sys.stdout.flush() command = transformdb + " --old " + testnew + " --new " + testnew + " -f " + checkxml + " " + check_dbdir + " default.db " + tmp_dbdir -os.system(command) +if os.system(command) != 0: + sys.exit(1) print "ok" |