From 5cd2f9484e519647cce5850bd8cbcb21e9256ed3 Mon Sep 17 00:00:00 2001 From: Enrico Seiler Date: Fri, 9 Feb 2024 18:36:29 +0100 Subject: [PATCH] [TEST] API patches --- .../1.1.1/0001-API-Update-TDL.patch | 4 +- .../0002-API-Quoted-strings-and-paths.patch | 4 +- .../1.1.1/0003-NOAPI-Update-copyright.patch | 4 +- .../1.1.1/0004-INFRA-Update-TDL.patch | 73 +++++++++++++++++++ .../1.1.1/0004-INFRA-Update-TDL.patch.license | 3 + .../0005-INFRA-Use-seqan3-main-branch.patch | 25 +++++++ ...INFRA-Use-seqan3-main-branch.patch.license | 3 + 7 files changed, 110 insertions(+), 6 deletions(-) create mode 100644 test/api_stability/1.1.1/0004-INFRA-Update-TDL.patch create mode 100644 test/api_stability/1.1.1/0004-INFRA-Update-TDL.patch.license create mode 100644 test/api_stability/1.1.1/0005-INFRA-Use-seqan3-main-branch.patch create mode 100644 test/api_stability/1.1.1/0005-INFRA-Use-seqan3-main-branch.patch.license diff --git a/test/api_stability/1.1.1/0001-API-Update-TDL.patch b/test/api_stability/1.1.1/0001-API-Update-TDL.patch index f71a30ab..a8667a6a 100644 --- a/test/api_stability/1.1.1/0001-API-Update-TDL.patch +++ b/test/api_stability/1.1.1/0001-API-Update-TDL.patch @@ -1,7 +1,7 @@ -From 27bc700234a23ea6c6c7337a427c4a3c6f2bbe55 Mon Sep 17 00:00:00 2001 +From ace25c7fffccdac9ccaf81329ada87f60021b5f9 Mon Sep 17 00:00:00 2001 From: Simon Gene Gottlieb Date: Thu, 5 Oct 2023 13:43:30 +0200 -Subject: [PATCH 1/3] [API] Update TDL +Subject: [PATCH 1/5] [API] Update TDL --- test/unit/detail/format_ctd_test.cpp | 2 +- diff --git a/test/api_stability/1.1.1/0002-API-Quoted-strings-and-paths.patch b/test/api_stability/1.1.1/0002-API-Quoted-strings-and-paths.patch index e5338a84..e892bb1f 100644 --- a/test/api_stability/1.1.1/0002-API-Quoted-strings-and-paths.patch +++ b/test/api_stability/1.1.1/0002-API-Quoted-strings-and-paths.patch @@ -1,7 +1,7 @@ -From 09a51343b1ee29f245eeae8210d50cd74ac9b1b4 Mon Sep 17 00:00:00 2001 +From 7bf847b4991636a59f26ca89977e94f51edfbf11 Mon Sep 17 00:00:00 2001 From: Enrico Seiler Date: Mon, 5 Feb 2024 16:02:03 +0100 -Subject: [PATCH 2/3] [API] Quoted strings and paths +Subject: [PATCH 2/5] [API] Quoted strings and paths --- test/snippet/readme_sneak_peek.out | 6 ++--- diff --git a/test/api_stability/1.1.1/0003-NOAPI-Update-copyright.patch b/test/api_stability/1.1.1/0003-NOAPI-Update-copyright.patch index 3a58eaeb..23aa68da 100644 --- a/test/api_stability/1.1.1/0003-NOAPI-Update-copyright.patch +++ b/test/api_stability/1.1.1/0003-NOAPI-Update-copyright.patch @@ -1,7 +1,7 @@ -From 859b9d015379e0d708700225fa55dd31f7d2e2f5 Mon Sep 17 00:00:00 2001 +From f02ddb2f31a47da16742dbf612d780b328e7602b Mon Sep 17 00:00:00 2001 From: Enrico Seiler Date: Wed, 7 Feb 2024 13:31:22 +0100 -Subject: [PATCH 3/3] [NOAPI] Update copyright +Subject: [PATCH 3/5] [NOAPI] Update copyright --- test/unit/detail/format_help_test.cpp | 10 +++++----- diff --git a/test/api_stability/1.1.1/0004-INFRA-Update-TDL.patch b/test/api_stability/1.1.1/0004-INFRA-Update-TDL.patch new file mode 100644 index 00000000..34fc025d --- /dev/null +++ b/test/api_stability/1.1.1/0004-INFRA-Update-TDL.patch @@ -0,0 +1,73 @@ +From 9f040f8ccb8d304841d24d8ac4d67db0d06c370f Mon Sep 17 00:00:00 2001 +From: Enrico Seiler +Date: Fri, 9 Feb 2024 16:17:21 +0100 +Subject: [PATCH 4/5] [INFRA] Update TDL + +--- + test/unit/detail/format_cwl_test.cpp | 28 +++++++++++++++++++++++++++- + 1 file changed, 27 insertions(+), 1 deletion(-) + +diff --git a/test/unit/detail/format_cwl_test.cpp b/test/unit/detail/format_cwl_test.cpp +index 1d27cc3..eaf0cad 100644 +--- a/test/unit/detail/format_cwl_test.cpp ++++ b/test/unit/detail/format_cwl_test.cpp +@@ -76,8 +76,16 @@ TEST(format_cwl_test, full_information) + parser.info.examples.push_back("example2"); + + std::string expected_short = "label: default\n" +- "doc: \"description\\ndescription2\\n\"\n" ++ "doc: \"description\\n" ++ "description2\\n" ++ "\"\n" + "inputs:\n" ++ " positional_0:\n" ++ " doc: this is a positional option.\n" ++ " type: string?\n" ++ " positional_1:\n" ++ " doc: \"this is a positional option. Default: []\"\n" ++ " type: string?\n" + " int:\n" + " doc: \"this is a int option. Default: 5\"\n" + " type: long?\n" +@@ -88,6 +96,12 @@ TEST(format_cwl_test, full_information) + " type: long\n" + " inputBinding:\n" + " prefix: --jint\n" ++ " flag:\n" ++ " doc: this is a flag.\n" ++ " type: boolean?\n" ++ " kflag:\n" ++ " doc: this is a flag.\n" ++ " type: boolean?\n" + "outputs:\n" + " []\n" + "cwlVersion: v1.2\n" +@@ -196,6 +210,12 @@ TEST(format_cwl_test, subparser) + "label: default-index\n" + "doc: \"\"\n" + "inputs:\n" ++ " positional_0:\n" ++ " doc: this is a positional option.\n" ++ " type: string?\n" ++ " positional_1:\n" ++ " doc: \"this is a positional option. Default: []\"\n" ++ " type: string?\n" + " int:\n" + " doc: \"this is a int option. Default: 5\"\n" + " type: long?\n" +@@ -244,6 +264,12 @@ TEST(format_cwl_test, subparser) + " type: string?\n" + " inputBinding:\n" + " prefix: --path05\n" ++ " flag:\n" ++ " doc: this is a flag.\n" ++ " type: boolean?\n" ++ " kflag:\n" ++ " doc: this is a flag.\n" ++ " type: boolean?\n" + "outputs:\n" + " path04:\n" + " type: File?\n" +-- +2.43.0 + diff --git a/test/api_stability/1.1.1/0004-INFRA-Update-TDL.patch.license b/test/api_stability/1.1.1/0004-INFRA-Update-TDL.patch.license new file mode 100644 index 00000000..706402f5 --- /dev/null +++ b/test/api_stability/1.1.1/0004-INFRA-Update-TDL.patch.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin +SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik +SPDX-License-Identifier: BSD-3-Clause diff --git a/test/api_stability/1.1.1/0005-INFRA-Use-seqan3-main-branch.patch b/test/api_stability/1.1.1/0005-INFRA-Use-seqan3-main-branch.patch new file mode 100644 index 00000000..f2e61487 --- /dev/null +++ b/test/api_stability/1.1.1/0005-INFRA-Use-seqan3-main-branch.patch @@ -0,0 +1,25 @@ +From 3a7dfd8103806e97af6376e9173d686b67fb5b52 Mon Sep 17 00:00:00 2001 +From: Enrico Seiler +Date: Fri, 9 Feb 2024 18:13:36 +0100 +Subject: [PATCH 5/5] [INFRA] Use seqan3 main branch + +--- + test/unit/detail/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/test/unit/detail/CMakeLists.txt b/test/unit/detail/CMakeLists.txt +index 392f878..1f9a8e0 100644 +--- a/test/unit/detail/CMakeLists.txt ++++ b/test/unit/detail/CMakeLists.txt +@@ -23,7 +23,7 @@ sharg_test (type_name_as_string_test.cpp) + sharg_test (version_check_debug_test.cpp) + sharg_test (version_check_release_test.cpp) + +-file (DOWNLOAD https://raw.githubusercontent.com/seqan/seqan3/master/include/seqan3/version.hpp ++file (DOWNLOAD https://raw.githubusercontent.com/seqan/seqan3/main/include/seqan3/version.hpp + ${CMAKE_BINARY_DIR}/include/seqan3/version.hpp) + sharg_test (seqan3_test.cpp) + target_include_directories (seqan3_test SYSTEM PUBLIC ${CMAKE_BINARY_DIR}/include) +-- +2.43.0 + diff --git a/test/api_stability/1.1.1/0005-INFRA-Use-seqan3-main-branch.patch.license b/test/api_stability/1.1.1/0005-INFRA-Use-seqan3-main-branch.patch.license new file mode 100644 index 00000000..706402f5 --- /dev/null +++ b/test/api_stability/1.1.1/0005-INFRA-Use-seqan3-main-branch.patch.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin +SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik +SPDX-License-Identifier: BSD-3-Clause