Bläddra i källkod

Fix broken tests

pull/222/head
Yamashita Yuu 12 år sedan
förälder
incheckning
29d3df661e
1 ändrade filer med 3 tillägg och 0 borttagningar
  1. +3
    -0
      plugins/python-build/test/build.bats

+ 3
- 0
plugins/python-build/test/build.bats Visa fil

@ -216,6 +216,7 @@ OUT
@test "number of CPU cores defaults to 2" {
cached_tarball "Python-3.2.1"
stub uname '-s : echo Darwin'
stub uname '-s : echo Darwin'
stub sysctl false
stub_make_install
@ -240,6 +241,7 @@ OUT
@test "number of CPU cores is detected on Mac" {
cached_tarball "Python-3.2.1"
stub uname '-s : echo Darwin'
stub uname '-s : echo Darwin'
stub sysctl '-n hw.ncpu : echo 4'
stub_make_install
@ -316,6 +318,7 @@ OUT
@test "make on FreeBSD defaults to gmake" {
cached_tarball "Python-3.2.1"
stub uname "-s : echo FreeBSD"
stub uname "-s : echo FreeBSD"
MAKE=gmake stub_make_install

Laddar…
Avbryt
Spara