From dda91094f2944849da23af1ca91688c0e21c5ae5 Mon Sep 17 00:00:00 2001 From: BuildTools Date: Thu, 11 Jan 2018 15:47:07 -0800 Subject: [PATCH] I want to see what GetErrorString() blurts out on the Travis failure real quick --- test/unit/utBlendImportAreaLight.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/unit/utBlendImportAreaLight.cpp b/test/unit/utBlendImportAreaLight.cpp index 55a68b040..7bc55c361 100644 --- a/test/unit/utBlendImportAreaLight.cpp +++ b/test/unit/utBlendImportAreaLight.cpp @@ -46,6 +46,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include #include #include +#include class BlendImportAreaLight : public ::testing::Test { public: @@ -69,6 +70,7 @@ protected: TEST_F(BlendImportAreaLight, testImportLight) { const aiScene* pTest = im->ReadFile(ASSIMP_TEST_MODELS_DIR "/BLEND/AreaLight_269.blend", aiProcess_ValidateDataStructure); + if (!pTest) std::cerr << im->GetErrorString() << '\n'; // temporary, for pull req. diagnostics ASSERT_TRUE(pTest != NULL); ASSERT_TRUE(pTest->HasLights());