mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:17:35 +00:00
test-js: Set test root correctly when specified as positional arg
When a test root path was given to test-js it was never used, causing test-js to always fail.
This commit is contained in:
parent
4062add8ed
commit
7cbdf465ba
1 changed files with 3 additions and 1 deletions
|
@ -731,7 +731,9 @@ int main(int argc, char** argv)
|
|||
|
||||
String test_root;
|
||||
|
||||
if (!specified_test_root) {
|
||||
if (specified_test_root) {
|
||||
test_root = String { specified_test_root };
|
||||
} else {
|
||||
#ifdef __serenity__
|
||||
test_root = "/home/anon/js-tests";
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue