aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity
diff options
context:
space:
mode:
Diffstat (limited to 'test/libsolidity')
-rw-r--r--test/libsolidity/TestCase.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/libsolidity/TestCase.cpp b/test/libsolidity/TestCase.cpp
index 6c4e0aea..17972269 100644
--- a/test/libsolidity/TestCase.cpp
+++ b/test/libsolidity/TestCase.cpp
@@ -29,7 +29,8 @@ using namespace std;
bool TestCase::isTestFilename(boost::filesystem::path const& _filename)
{
- return _filename.extension().string() == ".sol" &&
+ string extension = _filename.extension().string();
+ return (extension == ".sol" || extension == ".yul") &&
!boost::starts_with(_filename.string(), "~") &&
!boost::starts_with(_filename.string(), ".");
}