gremlin: 'elf-dynamic-info-needed' test is no longer skipped.
* tests/gremlin.scm (%guile-executable): Use /proc/self/exe instead of (command-line). For a while now, the first element of (command-line) was "./build-aux/test-driver.scm"; consequently the test was always skipped.
This commit is contained in:
parent
f43d2dcd80
commit
f7dfda2c73
|
@ -1,5 +1,5 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2015 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2015, 2018 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -27,8 +27,8 @@
|
||||||
#:use-module (ice-9 match))
|
#:use-module (ice-9 match))
|
||||||
|
|
||||||
(define %guile-executable
|
(define %guile-executable
|
||||||
(match (command-line)
|
(match (false-if-exception (readlink "/proc/self/exe"))
|
||||||
((program . _)
|
((? string? program)
|
||||||
(and (file-exists? program) (elf-file? program)
|
(and (file-exists? program) (elf-file? program)
|
||||||
program))
|
program))
|
||||||
(_
|
(_
|
||||||
|
|
Loading…
Reference in New Issue