aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
...
* repo: Add <repo> record datatype.Mathieu Lirzin2016-12-28
| | | | | | | * src/cuirass/utils.scm (call-with-temporary-directory): New procedure. * src/cuirass/repo.scm: Use it. New file. * tests/repo.scm: New tests. * Makefile.am (dist_pkgmodule_DATA, TESTS): Add them.
* maint: Move examples from 'tests' to 'examples' directory.Mathieu Lirzin2016-12-16
| | | | | | | | | | | * examples/gnu-system.scm: Moved from 'tests' directory. * examples/guix-jobs.scm: Likewise. * examples/guix-track-git.scm: Likewise. * examples/hello-git.scm: Likewise. * examples/hello-singleton.scm: Likewise. * examples/hello-subset.scm: Likewise. * Makefile.am (EXTRA_DIST): Adapt. * README <Example>: Likewise.
* db: Forbid inserting the same specification twice.Mathieu Lirzin2016-11-17
| | | | | | | | * src/schema.sql (Specifications): Make 'repo_name' the primary key. (Stamps, Evaluations): Adapt. * src/cuirass/database.scm (db-get-specifications): Likewise. (db-add-specification): Ignore if SPEC has already been added. * tests/database.scm (example-spec): Adapt.
* tests: Track Cuirass' git.Jan Nieuwenhuizen2016-09-23
| | | | | | | | | | | * guix.scm: New file; specify Guix package. * guix/ci.scm: New file; expose to Guix. * build-aux/pre-inst-env.in: Add it to GUIX_PACKAGE_PATH. * bin/evaluate.in (main): Lookup proc using name specified by #:proc. * tests/guix-track-git.scm: New file. * tests/hello-git.scm: Test it. Signed-off-by: Mathieu Lirzin <mthl@gnu.org>
* base: Support tracking of a Guix package's git.Jan Nieuwenhuizen2016-09-23
| | | | | | | | | | * src/schema.sql (Specifications): Add no_compile_p column. * src/cuirass/database.scm (db-add-specification) (db-get-specifications): Handle #:no-compile? property. * tests/database.scm (example-spec): Adapt. * src/cuirass/base.scm (process-specs): Skip compilation if #:no-compile?. Signed-off-by: Mathieu Lirzin <mthl@gnu.org>
* tests: database: Use 'test-group-cleanup'.Mathieu Lirzin2016-08-28
| | | | * tests/database.scm: Use 'test-group-cleanup'.
* tests: http: Reformat expected result.Mathieu Lirzin2016-08-03
| | | | | * tests/http.scm ("spec->json-string"): Make expected result more readable.
* Add (cuirass http) module.Mathieu Lirzin2016-07-31
| | | | | | | * src/cuirass/http.scm: New file. * tests/http.scm: Likewise. * Makefile.am (dist_pkgmodule_DATA, TESTS): Add them. * configure.ac: Check for (json) module.
* utils: Add 'alist?' procedure.Mathieu Lirzin2016-07-30
| | | | | * src/cuirass/utils.scm (alist?): New procedure. * tests/utils.scm ("alist?"): New test.
* schema: Evaluations: Add 'revision' column.Mathieu Lirzin2016-07-30
| | | | | | * src/schema.sql (Evaluations): Add 'revision' column. * src/cuirass/database.scm (db-add-evaluation): Adapt. All callers changed.
* tests: Add missing test group statements.Mathieu Lirzin2016-07-27
| | | | | | | * tests/base.scm: Add missing 'test-begin' and 'test-end'. * tests/database.scm: Likewise. * tests/ui.scm: Likewise. * tests/utils.scm: Likewise.
* schema: Separate "Derivations" from "Evaluations".Mathieu Lirzin2016-07-27
| | | | | | | | | | | | | * src/schema.sql (Derivations): New table. (Evaluations): Remove 'derivation' and 'job_name' columns. Add 'id' column. * src/cuirass/database.scm (db-add-evaluation): Adapt. (db-get-derivation, db-add-derivation): New procedures. (evaluation-exists?, db-get-evaluation): Delete. * bin/evaluate.in (main): Adapt. * tests/database.scm ("sqlite-exec"): Likewise. ("db-add-derivation", "db-get-derivation"): New tests. ("db-add-evaluation", "db-get-evaluation"): Delete.
* database: Remove "db-add-build-log" test.Mathieu Lirzin2016-07-27
| | | | * tests/database/scm ("db-add-build-log"): Delete.
* tests: Add 'hello-singleton' specification example.Mathieu Lirzin2016-07-27
| | | | | * tests/hello-singleton.scm: New file. * Makefile.am (EXTRA_DIST): Add it.
* cuirass: Use database to store specifications.Mathieu Lirzin2016-07-25
|
* gnu-system: license->alist: Allow list in license field.Mathieu Lirzin2016-07-25
|
* schema: Separate 'Evaluations' from 'Builds'.Mathieu Lirzin2016-07-25
| | | | Adapt src/cuirass/database.scm and its tests.
* database: sqlite-exec: Return every rows.Mathieu Lirzin2016-07-25
| | | | Export it. Add a test.
* Move '%program-name' to (cuirass ui) module.Mathieu Lirzin2016-07-25
|
* gnu-system: Add 'license->alist' procedure.Mathieu Lirzin2016-07-14
|
* Remove redundancies in the specification examples.Mathieu Lirzin2016-07-14
|
* gnu-system: Use 'specification->package' when possible.Mathieu Lirzin2016-07-14
|
* Remove unnecessary (cuirass job) module.Mathieu Lirzin2016-07-13
|
* Evaluate derivations in a separate process.Mathieu Lirzin2016-07-13
| | | | | This fixes a bug where different Guix branches gave the same derivations.
* Add guix-jobs.scm specification file.Mathieu Lirzin2016-07-04
|
* gnu-system: Fix '%job-name' calls.Mathieu Lirzin2016-07-04
| | | | This calls were using its previous name 'job-name'.
* Add 'basic.sh' test.Mathieu Lirzin2016-07-03
|
* Add %package-cachedir parameter.Mathieu Lirzin2016-07-02
|
* Add test for 'with-directory-excursion'.Mathieu Lirzin2016-07-02
|
* job: Add load-path field to <job-spec>.Mathieu Lirzin2016-07-02
|
* job: Add 'commit' and 'tag' field to <job-spec>.Mathieu Lirzin2016-07-01
|
* base: Add %program-name parameter object.Mathieu Lirzin2016-07-01
|
* Store build logs in the database.Mathieu Lirzin2016-06-29
|
* Fix temporary database location.Mathieu Lirzin2016-06-26
| | | | Don't create it in 'srcdir' to please 'make distcheck'.
* Make %package-database a parameter object.Mathieu Lirzin2016-06-26
| | | | Move it to (cuirass database).
* Add (cuirass database) module.Mathieu Lirzin2016-06-26
|
* Support multiples <job-spec> evaluation.Mathieu Lirzin2016-06-16
|
* Change <job-spec> and <job> semantics.Mathieu Lirzin2016-06-16
|
* gnu-system: Add hello subset.Mathieu Lirzin2016-06-13
| | | | * tests/gnu-system.scm (hydra-jobs): Add hello subset.
* job: Add <job-spec> record type.Mathieu Lirzin2016-06-13
| | | | | | | | | | | | | | | | | * src/cuirass/job.scm <job-spec>: New record type. (%make-job-spec, make-job-spec, job-spec-name, job-spec-proc) (job-spec-metadata): New procedures. * tests/gnu-system.scm (package-job): Rename to ... (package-job-spec): ... this. Use 'make-job-spec'. (package-cross-job): Rename to ... (package-cross-job-spec): ... this. Use 'make-job-spec'. (tarball-jobs): Rename to ... (tarball-job-specs): ... this. Use 'make-job-spec'. (package->alist): Rename to ... (package-metadata): ... this. Adapt. (package->job): Rename to ... (package->jobspec): ... this. Adapt. (hydra-jobs): Adapt.
* cuirass: Allow defining jobs outside of the repository.Mathieu Lirzin2016-06-13
| | | | | * tests/gnu-system.scm: New file. * bin/cuirass.in (evaluate, main): Use it.
* Initial commit.Mathieu Lirzin2016-05-29