From 12889b4ad2698ed9c75271480742c3e0994c5895 Mon Sep 17 00:00:00 2001 From: bradnelson Date: Fri, 4 Sep 2015 16:15:52 -0700 Subject: [PATCH] Follow symlinks in test/mjsunit to allow linked test directories. Wasm mjsunit tests aren't being detected when symlinked into test/mjsunit/wasm. This causes symlinked directories in that directory to be included. BUG=None TEST=local R=dehrenberg@chromium.org LOG=N Review URL: https://codereview.chromium.org/1332463002 Cr-Commit-Position: refs/heads/master@{#30600} --- test/mjsunit/testcfg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/mjsunit/testcfg.py b/test/mjsunit/testcfg.py index cf4b6276e4..4fbdcfca26 100644 --- a/test/mjsunit/testcfg.py +++ b/test/mjsunit/testcfg.py @@ -45,7 +45,7 @@ class MjsunitTestSuite(testsuite.TestSuite): def ListTests(self, context): tests = [] - for dirname, dirs, files in os.walk(self.root): + for dirname, dirs, files in os.walk(self.root, followlinks=True): for dotted in [x for x in dirs if x.startswith('.')]: dirs.remove(dotted) dirs.sort()