---
testing/harness/secstate_harness/testcase.py | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/testing/harness/secstate_harness/testcase.py
b/testing/harness/secstate_harness/testcase.py
index 4cae8a9..2b77142 100644
--- a/testing/harness/secstate_harness/testcase.py
+++ b/testing/harness/secstate_harness/testcase.py
@@ -53,7 +53,10 @@ class Command:
self.command_path = os.path.join(commands_dir, '%s.cmd' %
self.command_name)
if not os.path.exists(self.command_path):
- raise Exception('Error: Command Not Valid: %s.cmd does not exist in %s'
% (self.command_name, self.command_path))
+ print 'Error: Command Not Valid: %s.cmd does not exist in %s' %
(self.command_name, self.command_path)
+ sys.exit(0)
+ #if not os.path.exists(self.command_path):
+ #raise Exception('Error: Command Not Valid: %s.cmd does not exist in %s'
% (self.command_name, self.command_path))
self.rc_path = os.path.join(commands_dir, '%s.rc' % self.command_name)
self.stdout_path = os.path.join(commands_dir, '%s.stdout' %
self.command_name)
@@ -300,4 +303,4 @@ class TestCase:
sys.stdout.write(join(tab(['Verification Section Completed Successfully:
%s\n' % str(cmds_ok)])))
return cmds_ok
-
\ No newline at end of file
+
--
1.7.0.1
Show replies by date