From fa24e06d7af342dee5acf298a8b835efac8de411 Mon Sep 17 00:00:00 2001 From: Tyson Andre Date: Sat, 1 Oct 2022 21:38:10 -0400 Subject: [PATCH] Mark other dependencies on json to run tests GH workflows for setup-php isn't setting up the json extension for some reason. It's optional in php < 8.0. Mark a test as php 7.1+ only --- tests/compat/001.phpt | 2 ++ tests/compat/bug41067.phpt | 2 +- tests/compat/pass001.1.phpt | 2 ++ tests/compat/pass001.1_64bit.phpt | 1 + tests/compat/pass001.phpt | 2 ++ tests/compat/pass002.phpt | 2 ++ tests/compat/pass003.phpt | 2 ++ 7 files changed, 12 insertions(+), 1 deletion(-) diff --git a/tests/compat/001.phpt b/tests/compat/001.phpt index 464f7c9..28ae3e5 100644 --- a/tests/compat/001.phpt +++ b/tests/compat/001.phpt @@ -1,5 +1,7 @@ --TEST-- Compat simdjson_decode() tests +--SKIPIF-- + --INI-- serialize_precision=-1 --FILE-- diff --git a/tests/compat/pass001.1_64bit.phpt b/tests/compat/pass001.1_64bit.phpt index 2a5a9ef..6a0597f 100644 --- a/tests/compat/pass001.1_64bit.phpt +++ b/tests/compat/pass001.1_64bit.phpt @@ -5,6 +5,7 @@ serialize_precision=-1 --SKIPIF-- --FILE-- diff --git a/tests/compat/pass001.phpt b/tests/compat/pass001.phpt index 881a801..d51b3f7 100644 --- a/tests/compat/pass001.phpt +++ b/tests/compat/pass001.phpt @@ -1,5 +1,7 @@ --TEST-- JSON (http://www.crockford.com/JSON/JSON_checker/test/pass1.json) +--SKIPIF-- + --INI-- serialize_precision=-1 --FILE-- diff --git a/tests/compat/pass002.phpt b/tests/compat/pass002.phpt index 5f6d195..32a7828 100644 --- a/tests/compat/pass002.phpt +++ b/tests/compat/pass002.phpt @@ -1,5 +1,7 @@ --TEST-- JSON (http://www.crockford.com/JSON/JSON_checker/test/pass2.json) +--SKIPIF-- + --FILE-- --FILE--