comparison mrjunejune/test/BUILD @ 259:667156fcd3e3

Add dev-only cyberpunk JRPG page
author MrJuneJune <me@mrjunejune.com>
date Wed, 05 Aug 2026 09:19:41 -0700
parents b8aa08503378
children 1f9877b637e9
comparison
equal deleted inserted replaced
258:60a876c4587a 259:667156fcd3e3
1 load("@rules_cc//cc:cc_binary.bzl", "cc_binary") 1 load("@rules_cc//cc:cc_binary.bzl", "cc_binary")
2 load("@rules_cc//cc:cc_test.bzl", "cc_test") 2 load("@rules_cc//cc:cc_test.bzl", "cc_test")
3 load("@aspect_rules_js//js:defs.bzl", "js_test") 3 load("@aspect_rules_js//js:defs.bzl", "js_test")
4 load("//gui_ze:gui_ze.bzl", "move_files_into_dir", "bundle") 4 load("//gui_ze:gui_ze.bzl", "move_files_into_dir", "bundle")
5 load("@rules_shell//shell:sh_test.bzl", "sh_test")
5 6
6 # Files needed for test 7 # Files needed for test
7 filegroup( 8 filegroup(
8 name = "test_snapshots", 9 name = "test_snapshots",
9 srcs = glob(["snapshots/**"]), 10 srcs = glob(["snapshots/**"]),
84 "@platforms//os:linux", 85 "@platforms//os:linux",
85 ], 86 ],
86 timeout = "long", 87 timeout = "long",
87 ) 88 )
88 89
90 sh_test(
91 name = "production_bundle_exclusion_test",
92 srcs = ["production_bundle_exclusion_test.sh"],
93 args = ["$(rootpath //mrjunejune:mrjunejune_server_bundle)"],
94 data = ["//mrjunejune:mrjunejune_server_bundle"],
95 size = "small",
96 )
97
89 js_test( 98 js_test(
90 name = "theme_and_webp_test", 99 name = "theme_and_webp_test",
91 entry_point = "theme_and_webp_test.js", 100 entry_point = "theme_and_webp_test.js",
92 data = [ 101 data = [
93 "//hg-web/e2e:node_modules/playwright-core", 102 "//hg-web/e2e:node_modules/playwright-core",
94 "//mrjunejune:mrjunejune_server", 103 "//mrjunejune:mrjunejune_server_debug",
95 "@playwright_chromium_linux//:chrome", 104 "@playwright_chromium_linux//:chrome",
96 "@playwright_chromium_linux//:chromium", 105 "@playwright_chromium_linux//:chromium",
97 ], 106 ],
98 env = { 107 env = {
99 "CHROMIUM_PATH": "$(rootpath @playwright_chromium_linux//:chrome)", 108 "CHROMIUM_PATH": "$(rootpath @playwright_chromium_linux//:chrome)",