diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/tools/isoltest.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/tools/isoltest.cpp b/test/tools/isoltest.cpp index 668481cf..b71f14b9 100644 --- a/test/tools/isoltest.cpp +++ b/test/tools/isoltest.cpp @@ -263,6 +263,8 @@ int main(int argc, char *argv[]) { if (getenv("EDITOR")) SyntaxTestTool::editor = getenv("EDITOR"); + else if (fs::exists("/usr/bin/editor")) + SyntaxTestTool::editor = "/usr/bin/editor"; fs::path testPath; bool formatted = true; |