guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] gnu: Add ninja.


From: Ludovic Courtès
Subject: Re: [PATCH] gnu: Add ninja.
Date: Fri, 09 Jan 2015 15:34:25 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

宋文武 <address@hidden> skribis:

> * gnu/packages/ninja.scm: New file.
> * gnu-system.am (GNU_SYSTEM_MODULES): Add it.

[...]

> +          'check
> +          (lambda _
> +            (and (zero? (system "./configure.py"))
> +                 (zero? (system "./ninja ninja_test"))
> +                 ;; SubprocessTest.InterruptChild fail when using 'system*'.
> +                 ;; SubprocessTest.SetWithLots was skipped.
> +                 ;; XXX: Raise [ulimit -n] well above 1025 to make this test 
> go.

Does it mean that the test is currently failing?

> +                 (zero? (system (string-append
> +                                 "./ninja_test "
> +                                 "--gtest_filter="
> +                                 "-SubprocessTest.SetWithLots")))))

Please use ‘system*’ (with separate arguments) rather than ‘system’.
The latter runs “/bin/sh -c ...” whereas the former runs the program
directly.

Thanks,
Ludo’.



reply via email to

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