diff options
-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 5ad3bfb5..5efec421 100644 --- a/test/tools/isoltest.cpp +++ b/test/tools/isoltest.cpp @@ -265,6 +265,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; |