<s> import glob <EOL> import subprocess , sys , os <EOL> gflags_dir = os . path . dirname ( os . path . abspath ( __file__ ) ) + "<STR_LIT>" <EOL> os . chdir ( gflags_dir ) <EOL> env = os . environ <EOL> env [ "<STR_LIT>" ] = "<STR_LIT:.>" <EOL> TESTS_DIR = "<STR_LIT>" <EOL> for fn in glob . glob ( "<STR_LIT>" % TESTS_DIR ) : <EOL> if "<STR_LIT>" in fn : <EOL> print "<STR_LIT>" , fn <EOL> continue <EOL> print "<STR_LIT>" , fn <EOL> subprocess . check_call ( [ sys . executable , fn ] ) <EOL> print "<STR_LIT>" </s>
