guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gnu: add the rc shell package


From: Ricardo Wurmus
Subject: Re: [PATCH] gnu: add the rc shell package
Date: Sat, 11 Jul 2015 06:37:06 +0200

> The tests are written in an m4 file which generates a configure script
> that generates c main()'s that are compiled and run as tests against
> rc.. there was a /bin/pwd in there that failed the test and I didn't
> think a simple sed would be able to remove that part of the test.

You can use

    (substitute* "the-file.c"
      (("/bin/pwd") (which "pwd")))

to replace the “/bin/pwd” with the “pwd” in the store.

To run the tests by some other means than “make check” you can simply
replace the ‘check’ phase.

~~ Ricardo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]