summaryrefslogtreecommitdiff
path: root/testsuite/tests/dynlibs
Commit message (Collapse)AuthorAgeFilesLines
* Add support for producing position-independent executablesBen Gamari2017-08-225-0/+33
| | | | | | | | | | | | | | | | Previously due to #12759 we disabled PIE support entirely. However, this breaks the user's ability to produce PIEs. Add an explicit flag, -fPIE, allowing the user to build PIEs. Test Plan: Validate Reviewers: rwbarton, austin, simonmar Subscribers: trommler, simonmar, trofi, jrtc27, thomie GHC Trac Issues: #12759, #13702 Differential Revision: https://phabricator.haskell.org/D3589
* hs_add_root() RTS API removalSergei Trofimovich2017-04-171-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | Before ghc-7.2 hs_add_root() had to be used to initialize haskell modules when haskell was called from FFI. commit a52ff7619e8b7d74a9d933d922eeea49f580bca8 ("Change the way module initialisation is done (#3252, #4417)") removed needs for hs_add_root() and made function a no-op. For backward compatibility '__stginit_<module>' symbol was not removed. This change removes no-op hs_add_root() function and unused '__stginit_<module>' symbol from each haskell module. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> Test Plan: ./validate Reviewers: simonmar, austin, bgamari, erikd Reviewed By: simonmar Subscribers: rwbarton, thomie Differential Revision: https://phabricator.haskell.org/D3460
* Remove clean_cmd and extra_clean usage from .T filesThomas Miedema2017-01-221-26/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | The `clean_cmd` and `extra_clean` setup functions don't do anything. Remove them from .T files. Created using https://github.com/thomie/refactor-ghc-testsuite. This diff is a test for the .T-file parser/processor/pretty-printer in that repository. find . -name '*.T' -exec ~/refactor-ghc-testsuite/Main "{}" \; Tests containing inline comments or multiline strings are not modified. Preparation for #12223. Test Plan: Harbormaster Reviewers: austin, hvr, simonmar, mpickering, bgamari Reviewed By: mpickering Subscribers: mpickering Differential Revision: https://phabricator.haskell.org/D3000 GHC Trac Issues: #12223
* Testsuite: delete Windows line endings [skip ci] (#11631)Thomas Miedema2016-02-231-7/+7
|
* Delete __GLASGOW_HASKELL__ ifdefs for stage0 < 7.6.Thomas Miedema2014-10-071-4/+0
| | | | | | | | | | | | | | | | Summary: My understanding is that ghc 7.10 should be buildable with the last 3 versions of ghc, i.e 7.6, 7.8 and 7.10 itself. Test Plan: x Reviewers: austin Reviewed By: austin Subscribers: hvr, simonmar, ezyang, carter, thomie Differential Revision: https://phabricator.haskell.org/D254
* Replace 'if_os' and 'unless_os' with 'opsys'Ian Lynagh2013-02-111-2/+2
| | | | The name 'os' clashes with a python library
* Remove unnecessary hs_add_root call (#7031)Paolo Capriotti2012-09-091-5/+0
|
* Add dynamic version of T4464Paolo Capriotti2012-09-093-0/+15
|
* Fix warning in T4464.Paolo Capriotti2012-09-091-2/+2
|
* avoid the new -rtsopts/-shared warningSimon Marlow2012-08-231-1/+1
|
* fix T4464 on WindowsSimon Marlow2012-05-011-2/+2
|
* Define the GHC "compiler_always_flags" in make; fixes trac #5213Ian Lynagh2011-11-171-6/+6
| | | | We now pass the "always" flags to Makefile tests as well as python tests.
* Fix T4464 for the new way of handling main() and -rtsoptsSimon Marlow2011-11-162-4/+13
|
* add req_shared_libs and use itSimon Marlow2011-11-161-3/+6
|
* T5373 is now expected to pass on mingw32/darwinSimon Marlow2011-11-161-3/+2
|
* Fix test T5373 for +RTS/rtsopts changesDuncan Coutts2011-10-281-4/+4
| | | | | The test previously used +RTS -? as an example flag that is banned in the -rtsopts=some mode. That flag is now allowed, so we pick -c instead.
* Improve test T5373Ian Lynagh2011-10-114-7/+16
|
* Add a test for #5373 (-rtsopts, dynamic libs and OSX / Windows)Ian Lynagh2011-10-096-1/+32
|
* Fix #4264 on OS XIan Lynagh2011-10-062-3/+2
| | | | We were getting the RTS linked twice, which caused odd things to happen.
* Move tests from tests/ghc-regress/* to just tests/*David Terei2011-07-2011-0/+174