瀏覽代碼

Fix broken tests

pull/222/head
Yamashita Yuu 12 年之前
父節點
當前提交
29d3df661e
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      plugins/python-build/test/build.bats

+ 3
- 0
plugins/python-build/test/build.bats 查看文件

@ -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

Loading…
取消
儲存