• Simon Peyton Jones's avatar
    Add TEST_HC_OPTS to every Makefile invocation of TEST_HC · 6c32ee85
    Simon Peyton Jones authored
    In the testsuite there are numerous Makefiles that invoke $(TEST_HC).
    But, unlike the tests invoked directly by the harness, they didn't pass
    -dno-debug-output, or $(EXTRA_HC_OPTS).
    This patch goes part-way towards the goal of making the two consistent:
    * Almost all invocations in the Makefiles now go
        '$(TEST_HC)' $(TEST_HC_OPTS)
    * In test.mk we initialise
         TEST_HC_OPTS = -dno-debug-output $(EXTRA_HC_OPTS)
    Still to come (I don't know how to do these)
    * The invocations of TEST_HC via cabal are not treated
      (eg cabal01, cabal04), and they should be
    * TEST_HC_OPTS should probably be initialised the same way
      as the Python script computes the flags to pass to the
      TEST_HC that it calls directly