Fix broken tests
This commit is contained in:
parent
96b4c0f7e7
commit
29d3df661e
@ -216,6 +216,7 @@ OUT
|
|||||||
@test "number of CPU cores defaults to 2" {
|
@test "number of CPU cores defaults to 2" {
|
||||||
cached_tarball "Python-3.2.1"
|
cached_tarball "Python-3.2.1"
|
||||||
|
|
||||||
|
stub uname '-s : echo Darwin'
|
||||||
stub uname '-s : echo Darwin'
|
stub uname '-s : echo Darwin'
|
||||||
stub sysctl false
|
stub sysctl false
|
||||||
stub_make_install
|
stub_make_install
|
||||||
@ -240,6 +241,7 @@ OUT
|
|||||||
@test "number of CPU cores is detected on Mac" {
|
@test "number of CPU cores is detected on Mac" {
|
||||||
cached_tarball "Python-3.2.1"
|
cached_tarball "Python-3.2.1"
|
||||||
|
|
||||||
|
stub uname '-s : echo Darwin'
|
||||||
stub uname '-s : echo Darwin'
|
stub uname '-s : echo Darwin'
|
||||||
stub sysctl '-n hw.ncpu : echo 4'
|
stub sysctl '-n hw.ncpu : echo 4'
|
||||||
stub_make_install
|
stub_make_install
|
||||||
@ -316,6 +318,7 @@ OUT
|
|||||||
@test "make on FreeBSD defaults to gmake" {
|
@test "make on FreeBSD defaults to gmake" {
|
||||||
cached_tarball "Python-3.2.1"
|
cached_tarball "Python-3.2.1"
|
||||||
|
|
||||||
|
stub uname "-s : echo FreeBSD"
|
||||||
stub uname "-s : echo FreeBSD"
|
stub uname "-s : echo FreeBSD"
|
||||||
MAKE=gmake stub_make_install
|
MAKE=gmake stub_make_install
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user