mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +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:
committed by
Andreas Kling
parent
4062add8ed
commit
7cbdf465ba
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user