testsuite: check heap profiles readability by hp2ps
This test requires the following locale to be available: fr_FR.utf8 The Haskell part of the program sets LC_ALL to fr_FR, allocates for a bit to cause one GC, and outputs a number to make use of the locale it set up earlier. The Makefile compiles, runs and checks the Haskell program's output; verifies that we do have all three cases of localized samples in the .hp file, and runs hp2ps on it. This ought to ensure: * libc locales still working as intended on the user's side * .hp samples are readable to hp2ps
Showing
- testsuite/tests/profiling/should_run/Makefile 12 additions, 0 deletionstestsuite/tests/profiling/should_run/Makefile
- testsuite/tests/profiling/should_run/T17877-locale.hsc 24 additions, 0 deletionstestsuite/tests/profiling/should_run/T17877-locale.hsc
- testsuite/tests/profiling/should_run/T17877-locale.stdin 1 addition, 0 deletionstestsuite/tests/profiling/should_run/T17877-locale.stdin
- testsuite/tests/profiling/should_run/T17877-locale.stdout 3 additions, 0 deletionstestsuite/tests/profiling/should_run/T17877-locale.stdout
- testsuite/tests/profiling/should_run/all.T 2 additions, 0 deletionstestsuite/tests/profiling/should_run/all.T
Please register or sign in to comment