Fix #295 (consider *_SUITE.beam in ct skip check)

This commit is contained in:
Tuncer Ayaz 2012-08-19 15:25:13 +02:00
parent e8557d262f
commit 9dd8e7f2ee

View file

@ -59,7 +59,7 @@ run_test_if_present(TestDir, LogDir, Config, File) ->
?WARN("~s directory not present - skipping\n", [TestDir]), ?WARN("~s directory not present - skipping\n", [TestDir]),
ok; ok;
true -> true ->
case filelib:wildcard(TestDir ++ "/*_SUITE.erl") of case filelib:wildcard(TestDir ++ "/*_SUITE.{beam,erl}") of
[] -> [] ->
?WARN("~s directory present, but no common_test" ?WARN("~s directory present, but no common_test"
++ " SUITES - skipping\n", [TestDir]), ++ " SUITES - skipping\n", [TestDir]),