Guest User

Untitled

a guest
Nov 8th, 2018
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. if __name__ == '__main__':
  2. args = parser.parse_args()
  3.  
  4. test_dir = os.path.normpath(args.test_dir)
  5. apps_dir = os.path.join(test_dir, 'bin')
  6. inputs_dir = os.path.join(test_dir, 'test_cases')
  7. outputs_dir = os.path.join(test_dir, 'results')
  8. if not os.path.exists(outputs_dir):
  9. os.makedirs(outputs_dir)
  10.  
  11. for app in os.listdir(apps_dir):
  12. for test in os.listdir(inputs_dir):
  13. run_test(app, test)
  14.  
  15. print('[Done]')
Add Comment
Please, Sign In to add comment