From 2d2d03270beebdddd0f6be972a7c80b397ebe896 Mon Sep 17 00:00:00 2001 From: valmat Date: Mon, 14 Apr 2014 16:46:18 +0600 Subject: fixed for 32-bit architecture OS --- tests/cpp/main.cpp | 8 ++++---- tests/php/phpt/variables/011-value-casting-operators.phpt | 9 +++++---- .../phpt/variables/012-value-casting-operators-double.phpt | 12 ++++++------ 3 files changed, 15 insertions(+), 14 deletions(-) (limited to 'tests') diff --git a/tests/cpp/main.cpp b/tests/cpp/main.cpp index 0f36ecc..8583aec 100644 --- a/tests/cpp/main.cpp +++ b/tests/cpp/main.cpp @@ -154,10 +154,10 @@ extern "C" extension.add("TestIniEntries\\iniTest1", TestIniEntries::iniTest1); - extension.onStartup([](){ - Php::out << "ini_get(ini1) = {{" << Php::ini_get("ini1") << " | " << Php::ini_get_orig("ini1") << "}}" << std::endl; - Php::out << "ini_get(ini2) = {{" << Php::ini_get("ini2") << " | " << Php::ini_get_orig("ini2") << "}}" << std::endl; - }); + //extension.onStartup([](){ + // Php::out << "ini_get(ini1) = {{" << Php::ini_get("ini1") << " | " << Php::ini_get_orig("ini1") << "}}" << std::endl; + // Php::out << "ini_get(ini2) = {{" << Php::ini_get("ini2") << " | " << Php::ini_get_orig("ini2") << "}}" << std::endl; + //}); diff --git a/tests/php/phpt/variables/011-value-casting-operators.phpt b/tests/php/phpt/variables/011-value-casting-operators.phpt index 3fe6817..27e92c7 100644 --- a/tests/php/phpt/variables/011-value-casting-operators.phpt +++ b/tests/php/phpt/variables/011-value-casting-operators.phpt @@ -1,13 +1,15 @@ --TEST-- -Test Php::Value casting operators +Test Php::Value casting operators (64bit OS only) --DESCRIPTION-- The Php::Value class has casting operators to cast the object to almost every thinkable native type. native_value_casting - repeats the behavior of c++ functions TestVariables\value_casting the output of each of these functions should be the same +Skip if the current OS is not 64-bit architecture. + --SKIPIF-- - + --FILEEOF--