[ruby-cvs:73505] normal:r66404 (trunk): test/lib/test/unit.rb: do not propagate MAKEFLAGS to children

normal at ruby-lang.org normal at ruby-lang.org
Sat Dec 15 13:40:15 JST 2018


normal	2018-12-15 13:40:14 +0900 (Sat, 15 Dec 2018)

  New Revision: 66404

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66404

  Log:
    test/lib/test/unit.rb: do not propagate MAKEFLAGS to children
    
    Propagating MAKEFLAGS to children running test/unit caused stuck
    tests with GNU make when "-jN" is passed in both the make(1)
    command-line and the "TESTS=" variable; because the forked child
    process would see MAKEFLAGS and try to use jobserver on its own.
    
    This is regression caused by r64399
    (commit b53fadfd5f200dbd6fe9f4b2a91ebb68618e59bb,
    "process.c: defaults to close_others false");
    but that change also fixed a regression when close-on-exec
    became the default in 2.0 :<

  Modified files:
    trunk/test/lib/test/unit.rb


More information about the ruby-cvs mailing list