Commit graph

109 commits

Author SHA1 Message Date
Shea Levy dba8dc9668 Fix query-all-tables test count, there are more tables now 2013-02-19 14:21:57 +01:00
Eelco Dolstra 58dd49e645 Fix handling of IPC::Run::run exit status
Turns out that the exit status is returned in $?, not as the return
value of run().  So our error checking was completely bogus.
2013-01-23 15:56:28 +01:00
Eelco Dolstra 2d36b75d3e Fix indentation 2013-01-23 12:49:26 +00:00
Eelco Dolstra e4c123ef7c Fix indentation 2013-01-23 12:48:02 +00:00
Eelco Dolstra 67aefde62c Remove trailing whitespace 2013-01-22 14:41:02 +01:00
Rob Vermaas 209c51ca6c * Remove accidentally commited foo/bar. 2012-06-25 13:37:06 +02:00
Rob Vermaas 9a7811aa92 * Add 'set -e' to all scm test setup scripts, to catch errors as early as possible
* Fix git setup
2012-06-25 13:33:36 +02:00
Rob Vermaas 478d3863bb Add bar with 1 2012-06-25 13:00:55 +02:00
Rob Vermaas ebececb0ee Increase depth 2 2012-06-25 12:24:03 +02:00
Rob Vermaas 9e8d3cdcc5 Increase depth 1 2012-06-25 12:24:03 +02:00
Rob Vermaas 2cdcbd587a Increase depth 0 2012-06-25 12:24:03 +02:00
Eelco Dolstra 854513be8e I should test first 2012-04-30 17:57:13 +02:00
Nicolas Pierron 69f9175986 Add tests for "git describe --long".
* Move test logic to scm-update.sh scripts.
    * Check for "git describe --long".
2012-04-29 20:59:43 -07:00
Rob Vermaas b49e138e9c Merge pull request #3 from nbp/candidates/fetch-git
Optimize fetch-git.
2012-04-24 10:18:28 -07:00
Eelco Dolstra 0446282a63 Fix the test 2012-04-15 22:56:15 +00:00
Nicolas Pierron 19d9955e89 Optimize fetch-git. 2012-04-14 18:17:35 -07:00
Eelco Dolstra fa62c8b7f2 Fix tests 2012-03-13 13:18:40 +01:00
Eelco Dolstra 93efae0c23 Fix "make check" 2012-03-12 21:13:50 +01:00
Eelco Dolstra 3f1bbf7ef4 Better fix 2012-03-12 21:06:42 +01:00
Eelco Dolstra 259afadbab Set $PERL5LIB properly in hydra-init in "make check" 2012-03-12 20:56:41 +01:00
Eelco Dolstra 541238030d Provide a command ‘hydra-init’ to initialise/upgrade the database
For schema upgrades, hydra-init executes the files
src/sql/upgrade-<N>.sql, each of which upgrades the schema from
version N-1 to N.  The upgrades are wrapped in a transaction.
2012-02-28 20:16:16 +01:00
Eelco Dolstra 09e26a3011 Fix broken test 2011-12-05 15:21:43 +01:00
Eelco Dolstra 12a7b5737d Test environment cleanups
In particular, clear $NIX_BUILD_HOOK to prevent tests
from failing mysteriously.  Also print stdout/stderr
output of hydra-evaluator.
2011-12-04 22:50:03 +01:00
Rob Vermaas ae26e6db2a fix assignment in evalSucceeds (always returned 3, therefore evalSucceeds always succeeded 2011-12-01 08:31:07 -05:00
Eelco Dolstra dd6e5d49ba Fix the test 2011-11-30 18:14:48 +01:00
Eelco Dolstra 82d17a2d0b Rename hydra_*.pl to hydra-*
The underscores are ugly and the .pl extension is an implementation
detail that shouldn't be visible to the outside.

Also, get rid of the *.in files.  It's not really necessary to
generate them.  And I was always modifying the wrong file.
2011-11-30 18:14:48 +01:00
Rob Vermaas a9f422dcff add NIX_MANIFESTS_DIR to tests 2011-04-19 11:55:49 +00:00
Rob Vermaas 385b70c898 hydra: fixed and re-enabled evaluation tests 2011-03-24 13:45:01 +00:00
Rob Vermaas 2c9be852cb disabled evaluation tests until i figure out why it fails in buildfarm and succeeds locally 2011-03-21 12:36:01 +00:00
Rob Vermaas 55b392a20d wrong altnr for jobset inputs in tests 2011-03-21 12:30:47 +00:00
Rob Vermaas 9f33d4c98d 2011-03-17 13:25:27 +00:00
Rob Vermaas 10e10e8a8c set executable 2011-03-17 12:49:39 +00:00
Rob Vermaas 597e7c04e1 cleanup 2011-03-17 11:55:39 +00:00
Rob Vermaas bf2f86d3c6 show evaluation errors in log of tests 2011-03-17 10:29:01 +00:00
Rob Vermaas ea4ae11353 set BZR_HOME env var so bzr won't fail 2011-03-17 09:14:48 +00:00
Rob Vermaas 4b599f4dfc set BZR_HOME env var so bzr won't fail 2011-03-17 09:04:07 +00:00
Rob Vermaas 369b2ef0aa add tests for scm inputs 2011-03-17 08:48:27 +00:00
Rob Vermaas 98c8a86886 add bzr-repo target 2011-03-17 07:55:44 +00:00
Rob Vermaas 019e273bbb remove debug target 2011-03-17 07:43:55 +00:00
Rob Vermaas 50c7629efc nix needs env vars as absolute paths 2011-03-17 07:43:33 +00:00
Rob Vermaas f34636c15f make sure jobs/* and Setup.pm is in tarball 2011-03-17 07:30:19 +00:00
Rob Vermaas fa8c91ed91 use abs_builddir for svn checkout 2011-03-17 07:25:23 +00:00
Ludovic Courtès cf0a6a5fc7 tests: $(topsrc_dir) -> $(top_srcdir). 2011-03-16 16:18:59 +00:00
Ludovic Courtès 87c556e6ea tests: Use $(builddir) instead of pwd. 2011-03-16 16:18:56 +00:00
Ludovic Courtès 72fdede0e0 tests: Add $(srcdir) to Perl's module search path. 2011-03-16 16:18:53 +00:00
Rob Vermaas 11b6f9cf35 2011-03-16 14:00:52 +00:00
Rob Vermaas faf128a55b add target to make simple git/hg/svn inputs 2011-03-16 13:36:42 +00:00
Rob Vermaas d4a0ad3d30 remove debug statement 2011-03-16 13:34:17 +00:00
Rob Vermaas 890a7867b4 add first evaluations tests 2011-03-16 13:18:12 +00:00
Rob Vermaas d5710b840b there are 43 tests 2011-03-16 11:26:14 +00:00
Rob Vermaas 4f50af18aa 2011-03-16 10:50:50 +00:00
Rob Vermaas b0283aa404 2011-03-16 10:46:43 +00:00
Rob Vermaas aa27906150 add local srcdir to perl5lib env var 2011-03-16 10:41:31 +00:00
Rob Vermaas 65e4122444 2011-03-16 10:27:32 +00:00
Rob Vermaas 6b0da4625f setup environment variables for tests 2011-03-16 09:46:47 +00:00
Rob Vermaas a8d137379c hydra: query-all-tables.pl.in, set executable 2011-03-16 09:37:55 +00:00
Rob Vermaas 9716152ecf use top_srcdir in stead of srcdir 2011-03-16 09:24:18 +00:00
Rob Vermaas 541ce56cc6 add basic query tests for JobStatus/LatestSucceeded/ActiveJobs 2011-03-16 09:01:09 +00:00
Rob Vermaas 0df0723b46 first test, not yet in buildprocess 2011-03-16 08:50:31 +00:00