From d6af53ef1c95d60e5a2bebaf518341691b34cc98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Wed, 20 Nov 2019 10:56:16 +0100 Subject: [PATCH] Fix test for `gmake` on FreeBSD --- test/build.bats | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/test/build.bats b/test/build.bats index cf41c4f7..588341d0 100755 --- a/test/build.bats +++ b/test/build.bats @@ -373,10 +373,10 @@ OUT assert [ -x ./here/bin/package ] } -@test "make on FreeBSD 9 defaults to gmake" { +@test "make on FreeBSD defaults to gmake" { cached_tarball "ruby-2.0.0" - stub uname "-s : echo FreeBSD" "-r : echo 9.1" false + stub uname "-s : echo FreeBSD" false MAKE=gmake stub_make_install MAKE= install_fixture definitions/vanilla-ruby @@ -386,30 +386,6 @@ OUT unstub uname } -@test "make on FreeBSD 10" { - cached_tarball "ruby-2.0.0" - - stub uname "-s : echo FreeBSD" "-r : echo 10.0-RELEASE" false - stub_make_install - - MAKE= install_fixture definitions/vanilla-ruby - assert_success - - unstub uname -} - -@test "make on FreeBSD 11" { - cached_tarball "ruby-2.0.0" - - stub uname "-s : echo FreeBSD" "-r : echo 11.0-RELEASE" false - stub_make_install - - MAKE= install_fixture definitions/vanilla-ruby - assert_success - - unstub uname -} - @test "can use RUBY_CONFIGURE to apply a patch" { cached_tarball "ruby-2.0.0"