We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 02ba2d3 + 279df1b commit aa4d875Copy full SHA for aa4d875
utils/rth
@@ -15,6 +15,7 @@ import argparse
15
import glob
16
import os
17
import pipes
18
+import platform
19
import shlex
20
import shutil
21
import subprocess
@@ -224,6 +225,10 @@ class ResilienceTest(object):
224
225
os.path.join(self.tmp_dir, self.config_dir_map[config1], '*'))
226
command = self.target_run + [output_obj] + tmp_dir_contents
227
verbose_print_command(command)
228
+ # Windows does not have RPATH, make sure that we change the current
229
+ # working directory before we execute the test.
230
+ if platform.system() == 'Windows':
231
+ os.chdir(self.config_dir_map[config1])
232
returncode = subprocess.call(command)
233
assert returncode == 0, str(command)
234
0 commit comments