summaryrefslogtreecommitdiff
path: root/gnu/tests/base.scm
AgeCommit message (Collapse)Author
2016-06-20tests: Add a mechanism to describe and discover system tests.Ludovic Courtès
* gnu/tests.scm (<system-test>): New record type. (write-system-test, test-modules, fold-system-tests) (all-system-tests): New procedures. * gnu/tests/base.scm (%test-basic-os): Turn into a <system-test>. * gnu/tests/install.scm (%test-installed-os): Likewise. * build-aux/run-system-tests.scm (%system-tests): Remove. (run-system-tests): Use 'all-system-tests'.
2016-06-20tests: base: Fully honor the OS passed to 'run-basic-test'.Ludovic Courtès
* gnu/tests/base.scm (run-basic-test)["uname"]: Use the host name of OS. ["shepherd services"]: Use service names from OS. (%test-basic-os): Add call to 'virtualized-operating-system'.
2016-06-20tests: Export 'run-basic-test'.Ludovic Courtès
* gnu/tests/base.scm (run-basic-test): New procedure, extracted from ... (%test-basic-os): ... here. Use it.
2016-05-08system: tests: Use 'start-service' to wait for service.Ludovic Courtès
* gnu/tests/base.scm (%test-basic-os): Use 'start-service' instead of a busy loop to wait for 'term-tty1'.
2016-05-04tests: Add whole-system test.Ludovic Courtès
* gnu/system/vm.scm (virtualized-operating-system): Export. * gnu/tests/base.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * Makefile.am (check-system): New target.