Add plugin configuration flag to hole-fit-plugin test
[ghc.git] / testsuite / tests / plugins / all.T
index 29edf57..a4273f5 100644 (file)
@@ -210,6 +210,6 @@ test('T16260',
 test('test-hole-plugin',
      [extra_files(['hole-fit-plugin/']),
       pre_cmd('$MAKE -s --no-print-directory -C hole-fit-plugin package.hole-fit-plugin TOP={top}'),
-      extra_hc_opts("-package-db hole-fit-plugin/pkg.hole-fit-plugin/local.package.conf ")
+      extra_hc_opts('-package-db hole-fit-plugin/pkg.hole-fit-plugin/local.package.conf '+ config.plugin_way_flags)
       ],
      compile, ['-fdefer-typed-holes'])