Changes between Initial Version and Version 1 of Building/RunningTests/Settings


Ignore:
Timestamp:
Jul 8, 2011 10:25:01 PM (6 years ago)
Author:
dterei
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/RunningTests/Settings

    v1 v1  
     1= Testsuite Variables / Settings and WAYS =
     2
     3The following variables may be set on the command line when calling make:
     4{{{
     5TEST                 -- specific tests to run
     6TEST_HC              -- compiler to use
     7EXTRA_HC_OPTS        -- extra flags to send to the Haskell compiler
     8EXTRA_RUNTEST_OPTS   -- extra flags to give the test driver
     9CONFIG               -- use a different configuration file
     10COMPILER             -- stem of a different configuration file from the config directory [default: ghc]
     11WAY                  -- just this way
     12THREADS              -- number of threads to use when running the testsuite
     13}}}
     14
     15For example, to run the `tc053` test for only the `optasm` way we would use:
     16{{{
     17$ make WAY=optasm TEST=tc053
     18}}}
     19
     20The following ways are defined (see the file config/ghc for the complete list):
     21{{{
     22normal               -- no special options
     23llvm                 -- -fllvm
     24optc                 -- -O -fvia-C
     25optasm               -- -O -fasm
     26optllvm              -- -O -fllvm
     27profc                -- -O -prof -auto-all -fvia-C
     28profasm              -- -O -prof -auto-all -fasm
     29ghci                 -- (run only, not compile) run test under GHCi
     30extcore              -- -fext-core
     31optextcore           -- -O -fext-core
     32threaded1            -- -threaded -debug
     33threaded2            -- -threaded -O, and +RTS -N2 at run-time
     34hpc                  -- -fhpc
     35dyn                  -- -O -dynamic
     36}}}
     37certain ways are enabled automatically if the GHC build in the local
     38tree supports them.  Ways that are enabled this way are optasm, optllvm,
     39profc, profasm, threaded1, threaded2, and ghci.