/[escript]/trunk/pyvisi/test/python/run_movie_with_lazy_evaluation.py
ViewVC logotype

Diff of /trunk/pyvisi/test/python/run_movie_with_lazy_evaluation.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2366 by jfenwick, Mon Mar 30 02:13:58 2009 UTC revision 2367 by jfenwick, Mon Apr 6 04:51:49 2009 UTC
# Line 140  class TestGenerateMovie(unittest.TestCas Line 140  class TestGenerateMovie(unittest.TestCas
140    
141  if __name__ == '__main__':  if __name__ == '__main__':
142      if getMPISizeWorld() == 1:      if getMPISizeWorld() == 1:
143      suite = unittest.TestSuite()      if os.system('ppmtompeg')/256==127: #Command not found
144      suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestGenerateMovie))          print "run_movie_with_lazy_evaluation.py was not executed because more than one processor is in use."
145      s=unittest.TextTestRunner(verbosity=2).run(suite)      else:
146            suite = unittest.TestSuite()
147            suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestGenerateMovie))
148            s=unittest.TextTestRunner(verbosity=2).run(suite)
149          if not s.wasSuccessful(): sys.exit(1)          if not s.wasSuccessful(): sys.exit(1)
150      else:      else:
151          print "run_movie_with_lazy_evaluation.py is not executed as more than one processor is used."          print "run_movie_with_lazy_evaluation.py was not executed because more than one processor is in use."
152    

Legend:
Removed from v.2366  
changed lines
  Added in v.2367

  ViewVC Help
Powered by ViewVC 1.1.26