diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2021-09-26 23:20:56 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2021-09-26 23:20:56 +0200 |
| commit | 89b05442933d92f4b21c3294455a498e8333727d (patch) | |
| tree | a2a100da39651f1f19bd4c29be7a3d9a5167758a /gnu/tests/version-control.scm | |
| parent | 7d728294481620e90f7b5e7a76e02e8032be578a (diff) | |
tests: Reduce boilerplate for users of 'system-test-runner'.
* gnu/tests/audio.scm, gnu/tests/base.scm, gnu/tests/ci.scm,
gnu/tests/cups.scm, gnu/tests/databases.scm, gnu/tests/desktop.scm,
gnu/tests/dict.scm, gnu/tests/docker.scm, gnu/tests/file-sharing.scm,
gnu/tests/ganeti.scm, gnu/tests/guix.scm, gnu/tests/ldap.scm,
gnu/tests/linux-modules.scm,
gnu/tests/mail.scm, gnu/tests/messaging.scm, gnu/tests/monitoring.scm,
gnu/tests/networking.scm, gnu/tests/nfs.scm,
gnu/tests/package-management.scm, gnu/tests/reconfigure.scm,
gnu/tests/rsync.scm, gnu/tests/security-token.scm,
gnu/tests/singularity.scm, gnu/tests/ssh.scm, gnu/tests/telephony.scm,
gnu/tests/version-control.scm, gnu/tests/virtualization.scm,
gnu/tests/web.scm: Remove (mkdir #$output) (chdir #$output) and
pass #$output as argument to 'system-test-runner'.
Diffstat (limited to 'gnu/tests/version-control.scm')
| -rw-r--r-- | gnu/tests/version-control.scm | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/gnu/tests/version-control.scm b/gnu/tests/version-control.scm index c45c2d297c2..092591f40d5 100644 --- a/gnu/tests/version-control.scm +++ b/gnu/tests/version-control.scm | |||
| @@ -132,10 +132,7 @@ HTTP-PORT." | |||
| 132 | (define marionette | 132 | (define marionette |
| 133 | (make-marionette (list #$vm))) | 133 | (make-marionette (list #$vm))) |
| 134 | 134 | ||
| 135 | (mkdir #$output) | 135 | (test-runner-current (system-test-runner #$output)) |
| 136 | (chdir #$output) | ||
| 137 | |||
| 138 | (test-runner-current (system-test-runner)) | ||
| 139 | (test-begin "cgit") | 136 | (test-begin "cgit") |
| 140 | 137 | ||
| 141 | ;; XXX: Shepherd reads the config file *before* binding its control | 138 | ;; XXX: Shepherd reads the config file *before* binding its control |
| @@ -270,10 +267,7 @@ HTTP-PORT." | |||
| 270 | (define marionette | 267 | (define marionette |
| 271 | (make-marionette (list #$vm))) | 268 | (make-marionette (list #$vm))) |
| 272 | 269 | ||
| 273 | (mkdir #$output) | 270 | (test-runner-current (system-test-runner #$output)) |
| 274 | (chdir #$output) | ||
| 275 | |||
| 276 | (test-runner-current (system-test-runner)) | ||
| 277 | (test-begin "git-http") | 271 | (test-begin "git-http") |
| 278 | 272 | ||
| 279 | ;; Wait for nginx to be up and running. | 273 | ;; Wait for nginx to be up and running. |
| @@ -367,10 +361,7 @@ HTTP-PORT." | |||
| 367 | (define marionette | 361 | (define marionette |
| 368 | (make-marionette (list #$vm))) | 362 | (make-marionette (list #$vm))) |
| 369 | 363 | ||
| 370 | (mkdir #$output) | 364 | (test-runner-current (system-test-runner #$output)) |
| 371 | (chdir #$output) | ||
| 372 | |||
| 373 | (test-runner-current (system-test-runner)) | ||
| 374 | (test-begin "gitolite") | 365 | (test-begin "gitolite") |
| 375 | 366 | ||
| 376 | ;; Wait for sshd to be up and running. | 367 | ;; Wait for sshd to be up and running. |
| @@ -472,10 +463,7 @@ HTTP-PORT." | |||
| 472 | (define marionette | 463 | (define marionette |
| 473 | (make-marionette (list #$vm))) | 464 | (make-marionette (list #$vm))) |
| 474 | 465 | ||
| 475 | (mkdir #$output) | 466 | (test-runner-current (system-test-runner #$output)) |
| 476 | (chdir #$output) | ||
| 477 | |||
| 478 | (test-runner-current (system-test-runner)) | ||
| 479 | (test-begin "gitile") | 467 | (test-begin "gitile") |
| 480 | 468 | ||
| 481 | ;; XXX: Shepherd reads the config file *before* binding its control | 469 | ;; XXX: Shepherd reads the config file *before* binding its control |
