From a93b87f988e0e999cad238d3da1e4a1391ea51d5 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 20 Jan 2014 14:42:28 +0100 Subject: [PATCH] Skip those test which fails on ARM architecture Add minimal tests for all arch. --- .../bitwiseShiftLeft_variationStr.phpt | 2 +- .../bitwiseShiftLeft_variationStr2.phpt | 18 ++++++++++++++++++ .../bitwiseShiftRight_variationStr.phpt | 4 ++++ .../bitwiseShiftRight_variationStr2.phpt | 18 ++++++++++++++++++ 4 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 tests/lang/operators/bitwiseShiftLeft_variationStr2.phpt create mode 100644 tests/lang/operators/bitwiseShiftRight_variationStr2.phpt diff --git a/tests/lang/operators/bitwiseShiftLeft_variationStr.phpt b/tests/lang/operators/bitwiseShiftLeft_variationStr.phpt index e345036ae9..e13fc3bc1b 100644 --- a/tests/lang/operators/bitwiseShiftLeft_variationStr.phpt +++ b/tests/lang/operators/bitwiseShiftLeft_variationStr.phpt @@ -3,6 +3,7 @@ Test << operator : various numbers as strings --SKIPIF-- --FILE-- ===DONE=== diff --git a/tests/lang/operators/bitwiseShiftLeft_variationStr2.phpt b/tests/lang/operators/bitwiseShiftLeft_variationStr2.phpt new file mode 100644 index 0000000000..09949c56b0 --- /dev/null +++ b/tests/lang/operators/bitwiseShiftLeft_variationStr2.phpt @@ -0,0 +1,18 @@ +--TEST-- +Test << operator : numbers as strings, simple +--FILE-- + +===DONE=== +--EXPECT-- +int(12) +int(68) +int(224) +===DONE=== diff --git a/tests/lang/operators/bitwiseShiftRight_variationStr.phpt b/tests/lang/operators/bitwiseShiftRight_variationStr.phpt index ebc34da821..ad53fea9d1 100644 --- a/tests/lang/operators/bitwiseShiftRight_variationStr.phpt +++ b/tests/lang/operators/bitwiseShiftRight_variationStr.phpt @@ -1,5 +1,9 @@ --TEST-- Test >> operator : various numbers as strings +--SKIPIF-- + --FILE-- > operator : numbers as strings, simple +--FILE-- +> "0"); +var_dump("34" >> "1"); +var_dump("56" >> "2"); + +?> +===DONE=== +--EXPECT-- +int(12) +int(17) +int(14) +===DONE=== -- 2.40.0