diff options
author | CoprDistGit <infra@openeuler.org> | 2023-09-13 11:01:54 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-09-13 11:01:54 +0000 |
commit | 37369853c01c77b8dd73a1bfd558c04da9d1b56d (patch) | |
tree | 796db1bf4adfb7ba9ef1e5236504ab00f5e7cddf /0001-test-update-to-libfmt-v9.0.0.patch | |
parent | 9f817a58d7073dca2818435a78a59fdbf6509f53 (diff) |
automatic import of zxing-cpp
Diffstat (limited to '0001-test-update-to-libfmt-v9.0.0.patch')
-rw-r--r-- | 0001-test-update-to-libfmt-v9.0.0.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/0001-test-update-to-libfmt-v9.0.0.patch b/0001-test-update-to-libfmt-v9.0.0.patch new file mode 100644 index 0000000..3a632d1 --- /dev/null +++ b/0001-test-update-to-libfmt-v9.0.0.patch @@ -0,0 +1,42 @@ +From 3872abbb33ebb8d6c891baff33778aae04f0c546 Mon Sep 17 00:00:00 2001 +From: axxel <awagger@gmail.com> +Date: Tue, 26 Jul 2022 22:42:00 +0200 +Subject: [PATCH] test: update to libfmt v9.0.0 + +--- + test/blackbox/BlackboxTestRunner.cpp | 8 ++++---- + test/blackbox/CMakeLists.txt | 2 +- + 2 files changed, 5 insertions(+), 5 deletions(-) + +diff --git a/test/blackbox/BlackboxTestRunner.cpp b/test/blackbox/BlackboxTestRunner.cpp +index 7e126a62..85c5b9d4 100644 +--- a/test/blackbox/BlackboxTestRunner.cpp ++++ b/test/blackbox/BlackboxTestRunner.cpp +@@ -158,8 +158,7 @@ + auto folderName = directory.stem(); + + if (Size(imgPaths) != totalTests) +- fmt::print("TEST {} => Expected number of tests: {}, got: {} => FAILED\n", folderName, totalTests, +- imgPaths.size()); ++ fmt::print("TEST {} => Expected number of tests: {}, got: {} => FAILED\n", folderName.string(), totalTests, imgPaths.size()); + + for (auto& test : tests) { + fmt::print("{:20} @ {:3}, {:3}", folderName.string(), test.rotation, Size(imgPaths)); +@@ -234,7 +233,7 @@ + } + + if (Size(imageGroups) != totalTests) +- fmt::print("TEST {} => Expected number of tests: {}, got: {} => FAILED\n", folderName, totalTests, ++ fmt::print("TEST {} => Expected number of tests: {}, got: {} => FAILED\n", folderName.string(), totalTests, + imageGroups.size()); + + for (auto& test : tests) { +@@ -445,7 +444,7 @@ + { 17, 20, 0 }, + { 19, 20, 180 }, + }); +- ++ + runTests("upca-extension-1", "UPC-A", 6, { + { 3, 6, 0 }, + { 4, 6, 180 }, |