From d23e625da6f8051b81f01b0e9dd21fc13e284359 Mon Sep 17 00:00:00 2001 From: Alan Cai Date: Fri, 7 Oct 2022 16:05:03 -0700 Subject: [PATCH] Update test runner following addition of extended test dir --- test/partiql-tests | 2 +- .../kotlin/org/partiql/runner/TestRunner.kt | 20 ------------------- 2 files changed, 1 insertion(+), 21 deletions(-) diff --git a/test/partiql-tests b/test/partiql-tests index 652ce9e683..bcebd4e299 160000 --- a/test/partiql-tests +++ b/test/partiql-tests @@ -1 +1 @@ -Subproject commit 652ce9e683ca58d34c9bdb37bdca7253f71c911d +Subproject commit bcebd4e2991114b822d5cbb9a3b9e74ac695a988 diff --git a/test/partiql-tests-runner/src/test/kotlin/org/partiql/runner/TestRunner.kt b/test/partiql-tests-runner/src/test/kotlin/org/partiql/runner/TestRunner.kt index 9e47f52ed9..397b31372a 100644 --- a/test/partiql-tests-runner/src/test/kotlin/org/partiql/runner/TestRunner.kt +++ b/test/partiql-tests-runner/src/test/kotlin/org/partiql/runner/TestRunner.kt @@ -92,10 +92,6 @@ private val LANG_KOTLIN_EVAL_SKIP_LIST = listOf( // plk no STRICT/ERROR mode Pair("""char_length null and missing propagation{in:"missing",result:(success missing::null)}""", ERROR_EVAL_MODE_COMPILE_OPTIONS), Pair("""character_length null and missing propagation{in:"missing",result:(success missing::null)}""", ERROR_EVAL_MODE_COMPILE_OPTIONS), - Pair("""date_add null and missing propagation{time_part:year,quantity:"missing",timestamp:"`2017T`",result:(success missing::null)}""", ERROR_EVAL_MODE_COMPILE_OPTIONS), - Pair("""date_add null and missing propagation{time_part:year,quantity:1,timestamp:"missing",result:(success missing::null)}""", ERROR_EVAL_MODE_COMPILE_OPTIONS), - Pair("""date_add null and missing propagation{time_part:year,quantity:"null",timestamp:"missing",result:(success missing::null)}""", ERROR_EVAL_MODE_COMPILE_OPTIONS), - Pair("""date_add null and missing propagation{time_part:year,quantity:"missing",timestamp:"null",result:(success missing::null)}""", ERROR_EVAL_MODE_COMPILE_OPTIONS), Pair("""trim null and missing propagation{sql:"trim(missing)"}""", ERROR_EVAL_MODE_COMPILE_OPTIONS), Pair("""trim null and missing propagation{sql:"trim(leading from missing)"}""", ERROR_EVAL_MODE_COMPILE_OPTIONS), Pair("""trim null and missing propagation{sql:"trim(trailing from missing)"}""", ERROR_EVAL_MODE_COMPILE_OPTIONS), @@ -141,23 +137,7 @@ private val LANG_KOTLIN_EVAL_SKIP_LIST = listOf( Pair("""substring null and missing propagation 3 arguments{target:"''",start_pos:"missing",quantity:"missing"}""", ERROR_EVAL_MODE_COMPILE_OPTIONS), Pair("""upper null and missing propagation{param:"missing"}""", ERROR_EVAL_MODE_COMPILE_OPTIONS), Pair("""lower null and missing propagation{param:"missing"}""", ERROR_EVAL_MODE_COMPILE_OPTIONS), - Pair("""to_timestamp single argument missing propagation""", ERROR_EVAL_MODE_COMPILE_OPTIONS), - Pair("""to_timestamp null and missing propagation{string:"missing",pattern:"'y'"}""", ERROR_EVAL_MODE_COMPILE_OPTIONS), - Pair("""to_timestamp null and missing propagation{string:"''",pattern:"missing"}""", ERROR_EVAL_MODE_COMPILE_OPTIONS), - Pair("""to_timestamp null and missing propagation{string:"missing",pattern:"missing"}""", ERROR_EVAL_MODE_COMPILE_OPTIONS), - Pair("""to_timestamp null and missing propagation{string:"null",pattern:"missing"}""", ERROR_EVAL_MODE_COMPILE_OPTIONS), - Pair("""to_timestamp null and missing propagation{string:"missing",pattern:"null"}""", ERROR_EVAL_MODE_COMPILE_OPTIONS), - Pair("""size null and missing propagation{param:"missing"}""", ERROR_EVAL_MODE_COMPILE_OPTIONS), - Pair("""date_diff null and missing propagation{result:(success null),time_part:"year",left:"missing",right:"`2017T`"}""", ERROR_EVAL_MODE_COMPILE_OPTIONS), - Pair("""date_diff null and missing propagation{result:(success null),time_part:"year",left:"`2017T`",right:"missing"}""", ERROR_EVAL_MODE_COMPILE_OPTIONS), - Pair("""date_diff null and missing propagation{result:(success null),time_part:"year",left:"null",right:"missing"}""", ERROR_EVAL_MODE_COMPILE_OPTIONS), - Pair("""date_diff null and missing propagation{result:(success null),time_part:"year",left:"missing",right:"null"}""", ERROR_EVAL_MODE_COMPILE_OPTIONS), Pair("""extract null and missing propagation{time_part:"year",timestamp:"missing"}""", ERROR_EVAL_MODE_COMPILE_OPTIONS), - Pair("""to_string null and missing propagation{timestamp:"missing",pattern:"null",result:null}""", ERROR_EVAL_MODE_COMPILE_OPTIONS), - Pair("""to_string null and missing propagation{timestamp:"null",pattern:"missing",result:null}""", ERROR_EVAL_MODE_COMPILE_OPTIONS), - Pair("""to_string null and missing propagation{timestamp:"missing",pattern:"'y'",result:null}""", ERROR_EVAL_MODE_COMPILE_OPTIONS), - Pair("""to_string null and missing propagation{timestamp:"`2000T`",pattern:"missing",result:null}""", ERROR_EVAL_MODE_COMPILE_OPTIONS), - Pair("""to_string null and missing propagation{timestamp:"missing",pattern:"missing",result:null}""", ERROR_EVAL_MODE_COMPILE_OPTIONS), Pair("""|| valid cases{lparam:"null",rparam:"missing",result:missing::null}""", ERROR_EVAL_MODE_COMPILE_OPTIONS), Pair("""|| valid cases{lparam:"missing",rparam:"null",result:missing::null}""", ERROR_EVAL_MODE_COMPILE_OPTIONS), Pair("""|| valid cases{lparam:"missing",rparam:"'b'",result:missing::null}""", ERROR_EVAL_MODE_COMPILE_OPTIONS),