summaryrefslogtreecommitdiff
path: root/Tests
diff options
context:
space:
mode:
authordavidot <davidot@serenityos.org>2022-09-11 10:44:03 +0200
committerLinus Groh <mail@linusgroh.de>2022-09-11 20:25:51 +0100
commitcd3a72b3671a32c89b66ade39a6bb3dd2f51b503 (patch)
tree9390c3e8b7635009eac3d48bf035f627ec20a66b /Tests
parentb5b3b9323d4ca2cd91b15b17fba4d6206a5b66dd (diff)
downloadserenity-cd3a72b3671a32c89b66ade39a6bb3dd2f51b503.zip
test262-runner: Convert dbgln to warnln
Since this application is now supposed to be used from within Serenity we should make sure to warn the actual user.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/LibJS/test262-runner.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/LibJS/test262-runner.cpp b/Tests/LibJS/test262-runner.cpp
index 47b000f6c6..a63763933d 100644
--- a/Tests/LibJS/test262-runner.cpp
+++ b/Tests/LibJS/test262-runner.cpp
@@ -584,7 +584,7 @@ int main(int argc, char** argv)
}
if (timeout <= 0) {
- dbgln("timeout must be atleast 1");
+ warnln("timeout must be atleast 1");
return 2;
}
@@ -671,7 +671,7 @@ int main(int argc, char** argv)
auto file = Core::File::construct(path);
if (!file->open(Core::OpenMode::ReadOnly)) {
- dbgln("Could not open file: {}", path);
+ warnln("Could not open file: {}", path);
return 3;
}