diff options
author | neoninteger | 2019-06-21 19:53:00 +0930 |
---|---|---|
committer | neoninteger | 2019-06-21 19:53:00 +0930 |
commit | cbc8cb171b9c6c1138124c474266046f242ceeff (patch) | |
tree | b5b1a7f103e199841abdce83ea778527d45b9663 /.SRCINFO | |
parent | 884ccf7086039ca94a339560c590938ae6731b2f (diff) | |
download | aur-cbc8cb171b9c6c1138124c474266046f242ceeff.tar.gz |
Implement more foolproof check() step
* The check() step has been divided into "modules" which can be run
independently of each other.
* This then allows the individual steps (create directories -> initialise
database cluster and start SQL server -> configure database and start Turtl
server -> generate configuration and run tests -> shut down Turtl server ->
shut down SQL server -> remove directories) to be run individually, with
traps set up to perform the necessary de-initialization should one step fail.
* This is important as makepkg's default behaviour is to stop as soon as a
command returns with a non-zero exit code. Trapping errors in this manner
allows us to perform the proper database and server cleanup regardless of
whether or not the tests succeeded.
* The output of commands is also no longer redirected to /dev/null, and the
log messages are bolded and coloured to look like makepkg messages.
Diffstat (limited to '.SRCINFO')
-rw-r--r-- | .SRCINFO | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,7 +1,7 @@ pkgbase = turtl-core-rs pkgdesc = Turtl's logic core, built in Rust pkgver = 0.1.2 - pkgrel = 1 + pkgrel = 2 url = https://github.com/turtl/core-rs arch = i686 arch = x86_64 |