Browse Source

Meta: Remove explicit setting of `output_dir` in GN unit test template

This is causing unit tests to be linked in //Build/obj/Tests rather than
//Build/bin. Note that object files are not affected by this change.
Timothy Flynn 1 năm trước cách đây
mục cha
commit
6a73e027a0
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      Meta/gn/secondary/Tests/unittest.gni

+ 0 - 2
Meta/gn/secondary/Tests/unittest.gni

@@ -8,8 +8,6 @@ template("unittest") {
     assert(!defined(invoker.output_dir), "cannot set unittest output_dir")
     assert(!defined(invoker.testonly), "cannot set unittest testonly")
 
-    output_dir = target_out_dir
-
     deps = [ "//AK" ]
     if (has_custom_main) {
       deps += [ "//Userland/Libraries/LibTest" ]