From d053d6f7bb99882909fc45246df06943c75d54d9 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Sun, 24 Dec 2023 15:18:27 -0500 Subject: [PATCH] Meta: Add test262-runner to the GN build --- Meta/gn/secondary/Tests/LibJS/BUILD.gn | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/Meta/gn/secondary/Tests/LibJS/BUILD.gn b/Meta/gn/secondary/Tests/LibJS/BUILD.gn index c685898531..e709571996 100644 --- a/Meta/gn/secondary/Tests/LibJS/BUILD.gn +++ b/Meta/gn/secondary/Tests/LibJS/BUILD.gn @@ -10,7 +10,20 @@ unittest("test-js") { ] } -group("LibJS") { - deps = [ ":test-js" ] - testonly = true +executable("test262-runner") { + sources = [ "test262-runner.cpp" ] + include_dirs = [ "//Userland/Libraries" ] + deps = [ + "//AK", + "//Userland/Libraries/LibCore", + "//Userland/Libraries/LibJS", + ] +} + +group("LibJS") { + testonly = true + deps = [ + ":test-js", + ":test262-runner", + ] }