[commit: ghc] wip/andrey/windows-doc: testsuite: Normalise style (fc44e0b)

git at git.haskell.org git at git.haskell.org
Sun Jan 27 22:40:06 UTC 2019


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/andrey/windows-doc
Link       : http://ghc.haskell.org/trac/ghc/changeset/fc44e0b205c71abe3ac615ad3b2a292b37d7fc34/ghc

>---------------------------------------------------------------

commit fc44e0b205c71abe3ac615ad3b2a292b37d7fc34
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Sun Jan 20 22:32:09 2019 -0500

    testsuite: Normalise style


>---------------------------------------------------------------

fc44e0b205c71abe3ac615ad3b2a292b37d7fc34
 testsuite/tests/plugins/all.T | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/testsuite/tests/plugins/all.T b/testsuite/tests/plugins/all.T
index 82e9fcb..30b8fd6 100644
--- a/testsuite/tests/plugins/all.T
+++ b/testsuite/tests/plugins/all.T
@@ -7,27 +7,28 @@ setTestOpts(req_interp)
 
 test('plugins01',
      [extra_files(['simple-plugin/']), only_ways([config.ghc_plugin_way]),
-     when(opsys('mingw32'), multi_cpu_race),
+      when(opsys('mingw32'), multi_cpu_race),
       pre_cmd('$MAKE -s --no-print-directory -C simple-plugin package.plugins01 TOP={top}')],
      run_command, ['$MAKE -s --no-print-directory plugins01'])
 
 test('plugins02',
      [extra_files(['simple-plugin/']), only_ways([config.ghc_plugin_way]),
-     when(opsys('mingw32'), multi_cpu_race),
+      when(opsys('mingw32'), multi_cpu_race),
       pre_cmd('$MAKE -s --no-print-directory -C simple-plugin package.plugins02 TOP={top}')],
      compile_fail,
      ['-package-db simple-plugin/pkg.plugins02/local.package.conf -fplugin Simple.BadlyTypedPlugin -package simple-plugin ' + config.plugin_way_flags])
 
 test('plugins03',
      [extra_files(['simple-plugin/']), only_ways([config.ghc_plugin_way]),
-     when(opsys('mingw32'), multi_cpu_race),
+      when(opsys('mingw32'), multi_cpu_race),
       pre_cmd('$MAKE -s --no-print-directory -C simple-plugin package.plugins03 TOP={top}')],
      compile_fail,
      ['-package-db simple-plugin/pkg.plugins03/local.package.conf -fplugin Simple.NonExistentPlugin -package simple-plugin'])
 
-test('plugins04', [extra_files(['HomePackagePlugin.hs']),
-                   only_ways([config.ghc_plugin_way]),
-                   when(opsys('mingw32'), multi_cpu_race)],
+test('plugins04',
+     [extra_files(['HomePackagePlugin.hs']),
+      only_ways([config.ghc_plugin_way]),
+      when(opsys('mingw32'), multi_cpu_race)],
      multimod_compile_fail,
      ['plugins04', '-package ghc -fplugin HomePackagePlugin'])
 



More information about the ghc-commits mailing list