build-system/python: Fix deletion of .egg-info dirs created by tests.
* guix/build/python-build-system.scm (check): Use 'string=?' to compare strings, not 'eqv?'.
This commit is contained in:
		
							parent
							
								
									1e62645402
								
							
						
					
					
						commit
						171a117c61
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -141,7 +141,7 @@
 | 
				
			||||||
      (let ((before (find-files "build" "\\.egg-info$" #:directories? #t)))
 | 
					      (let ((before (find-files "build" "\\.egg-info$" #:directories? #t)))
 | 
				
			||||||
        (call-setuppy test-target '() use-setuptools?)
 | 
					        (call-setuppy test-target '() use-setuptools?)
 | 
				
			||||||
        (let* ((after (find-files "build" "\\.egg-info$" #:directories? #t))
 | 
					        (let* ((after (find-files "build" "\\.egg-info$" #:directories? #t))
 | 
				
			||||||
               (inter (lset-difference eqv? after before)))
 | 
					               (inter (lset-difference string=? after before)))
 | 
				
			||||||
          (for-each delete-file-recursively inter)))
 | 
					          (for-each delete-file-recursively inter)))
 | 
				
			||||||
      (format #t "test suite not run~%"))
 | 
					      (format #t "test suite not run~%"))
 | 
				
			||||||
  #t)
 | 
					  #t)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue