aboutsummaryrefslogtreecommitdiffstats
path: root/testing/assimp/04-fix-unittests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/assimp/04-fix-unittests.patch')
-rw-r--r--testing/assimp/04-fix-unittests.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/assimp/04-fix-unittests.patch b/testing/assimp/04-fix-unittests.patch
new file mode 100644
index 00000000000..1b1efa02742
--- /dev/null
+++ b/testing/assimp/04-fix-unittests.patch
@@ -0,0 +1,37 @@
+From ecd413c86c031900832028c94c0d55488cf26a0a Mon Sep 17 00:00:00 2001
+From: Kim Kulling <kimkulling@users.noreply.github.com>
+Date: Sun, 6 Oct 2019 20:19:59 +0200
+Subject: [PATCH] Update utVersion.cpp
+
+Fix the unittests as well.
+---
+ test/unit/utVersion.cpp | 6 ++----
+ 1 file changed, 2 insertions(+), 4 deletions(-)
+
+diff --git a/test/unit/utVersion.cpp b/test/unit/utVersion.cpp
+index 5cfc91ccdd..233b2fb0b2 100644
+--- a/test/unit/utVersion.cpp
++++ b/test/unit/utVersion.cpp
+@@ -4,8 +4,6 @@ Open Asset Import Library (assimp)
+
+ Copyright (c) 2006-2019, assimp team
+
+-
+-
+ All rights reserved.
+
+ Redistribution and use of this software in source and binary forms,
+@@ -55,11 +53,11 @@ TEST_F( utVersion, aiGetLegalStringTest ) {
+ }
+
+ TEST_F( utVersion, aiGetVersionMinorTest ) {
+- EXPECT_EQ( aiGetVersionMinor(), 1U );
++ EXPECT_EQ( aiGetVersionMinor(), 0U );
+ }
+
+ TEST_F( utVersion, aiGetVersionMajorTest ) {
+- EXPECT_EQ( aiGetVersionMajor(), 4U );
++ EXPECT_EQ( aiGetVersionMajor(), 5U );
+ }
+
+ TEST_F( utVersion, aiGetCompileFlagsTest ) {