diff options
author | William Pitcock <nenolod@dereferenced.org> | 2018-03-01 03:12:39 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-03-01 03:12:39 +0000 |
commit | 529ca067b237c5fffce2d5627c6a7aa8e88fc1d8 (patch) | |
tree | e729fc55becdc1807ffed0e474f01196ee1d3900 /community/cpputest/test-s390x.patch | |
parent | 1b3dd01a4cd42c70ff508bcc4d94529c81ab08ee (diff) | |
download | aports-529ca067b237c5fffce2d5627c6a7aa8e88fc1d8.tar.bz2 aports-529ca067b237c5fffce2d5627c6a7aa8e88fc1d8.tar.xz |
community/cpputest: move from testing
Diffstat (limited to 'community/cpputest/test-s390x.patch')
-rw-r--r-- | community/cpputest/test-s390x.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/community/cpputest/test-s390x.patch b/community/cpputest/test-s390x.patch new file mode 100644 index 0000000000..1317511263 --- /dev/null +++ b/community/cpputest/test-s390x.patch @@ -0,0 +1,17 @@ +ref https://github.com/cpputest/cpputest/issues/1004 + +diff --git a/tests/CppUTestExt/MockSupport_cTest.cpp b/tests/CppUTestExt/MockSupport_cTest.cpp +index 8fc55ec..5188857 100644 +--- a/tests/CppUTestExt/MockSupport_cTest.cpp ++++ b/tests/CppUTestExt/MockSupport_cTest.cpp +@@ -186,8 +186,8 @@ TEST(MockSupport_c, outputParameters_differentType) + + TEST(MockSupport_c, outputParametersOfType) + { +- long param = 1; +- const long retval = 2; ++ int param = 1; ++ const int retval = 2; + mock_c()->installCopier("typeName", typeCopy); + mock_c()->expectOneCall("foo")->withOutputParameterOfTypeReturning("typeName", "out", &retval); + mock_c()->actualCall("foo")->withOutputParameterOfType("typeName", "out", ¶m); |