daily pastebin goal
5%
SHARE
TWEET

Untitled

a guest Nov 8th, 2018 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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]')
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top