diff options
author | Marius Bakke <mbakke@fastmail.com> | 2017-03-03 16:55:43 +0100 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2017-03-03 16:55:43 +0100 |
commit | 3f98071ac5d8ffa722b2cf9c74c9c38bf413f059 (patch) | |
tree | 494c4af6cfc996d6acd764025bb78f1a1598d5c9 /guix | |
parent | 0a77fdf4b8732598e341a6793503ea4847e0c760 (diff) | |
parent | 2bb12f5a68f6547b3de295c22c2886aaa0415e47 (diff) | |
download | gnu-guix-3f98071ac5d8ffa722b2cf9c74c9c38bf413f059.tar gnu-guix-3f98071ac5d8ffa722b2cf9c74c9c38bf413f059.tar.gz |
Merge branch 'python-tests'
Diffstat (limited to 'guix')
-rw-r--r-- | guix/build/python-build-system.scm | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/guix/build/python-build-system.scm b/guix/build/python-build-system.scm index 3f280b0ac0..dd07986b94 100644 --- a/guix/build/python-build-system.scm +++ b/guix/build/python-build-system.scm @@ -137,11 +137,15 @@ ;; (given with `package_dir`). This will by copied to the output, too, ;; so we need to remove. (let ((before (find-files "build" "\\.egg-info$" #:directories? #t))) - (call-setuppy test-target '() use-setuptools?) - (let* ((after (find-files "build" "\\.egg-info$" #:directories? #t)) - (inter (lset-difference eqv? after before))) - (for-each delete-file-recursively inter))) - #t)) + (if (call-setuppy test-target '() use-setuptools?) + (let* ((after (find-files "build" "\\.egg-info$" #:directories? #t)) + (inter (lset-difference eqv? after before))) + (for-each delete-file-recursively inter) + #t) + #f)) + (begin + (format #t "test suite not run~%") + #t))) (define (get-python-version python) (let* ((version (last (string-split python #\-))) |