summaryrefslogtreecommitdiff
path: root/t/buildsystems
Commit message (Collapse)AuthorAge
* test suite should not need modification to add a new build systemJoey Hess2009-07-14
|
* remove enforce_out_of_source_buildingJoey Hess2009-06-29
| | | | | It was only used by the test suite, and while symetrical I don't feel that justifies keeping dead code.
* More verbose rmdir_builddir() and more its testsModestas Vainius2009-06-30
| | | | Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* Support absolute paths for builddir.Modestas Vainius2009-06-30
| | | | | | | | If build directory is absolute or ../ path, _rel2rel falls back to absolute paths. Try even harder to convert supplied builddir to relative in _set_builddir(). Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* Add absolute path test for canonpath.Modestas Vainius2009-06-30
| | | | Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* Rename _canonpath to canonpath.Modestas Vainius2009-06-30
| | | | Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* Rename enforce_out_of_source_building() to prefer_Modestas Vainius2009-06-30
| | | | | | | | Also add enforce_out_of_source_building() for clarity which does not take any parameters. Now both have a clear name and no confusing parameter combinations. Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* Less code in the build system classes to call enforce_out_of_source_building().Modestas Vainius2009-06-18
| | | | Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* Some cosmetic changes in the comments and strings.Modestas Vainius2009-06-17
| | | | | | | | * buildsystem -> build system * dh_auto build system -> debhelper build system * plugin -> class * a few rewording changes in the comments. * Enhance python_distutils::DESCRIPTION().
* New short switches for buildsystem stuff, drop envvarsModestas Vainius2009-06-13
| | | | | | | | | | | | | * New short switches: -D = --sourcedirectory -B = --builddirectory -S = --buildsystem * Drop DH_AUTO_BUILD* environment variables (reintroduced due to revert). * Adjust test suite. Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* Use another root directory in _rel2rel.Modestas Vainius2009-06-13
| | | | | | | Previous one caused test "_rel2rel no4" to fail. Also add a new test for _canonpath and two new tests for _rel2rel (related to "." handling). Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* Drop special handling for build directory ./path.Modestas Vainius2009-06-13
| | | | | | | | | Now build directory is always relative to the top directory (including default build directory) regardless what source directory is. However, if the build directory is not specified, it defaults to the source directory (aka in source building). Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* Add a test suite for build systems.Modestas Vainius2009-06-11
* Tests for core Buildsystem API (mostly path API). * Tests for check_auto_configure() for each buildsystem. * Build system autoselection tests under "typical" conditions for each buildsystem. * DH_AUTO_OPTIONS and command line argument parsing tests. * Real dh_auto_* tests for autoconf/makefile build systems with emulated. autoconf behaviour under in both in source and out of source tree scenarios. Signed-off-by: Modestas Vainius <modestas@vainius.eu>