Fix asset path in internal tests
authorPyry Haulos <phaulos@google.com>
Mon, 6 Apr 2015 22:35:22 +0000 (15:35 -0700)
committerPyry Haulos <phaulos@google.com>
Mon, 6 Apr 2015 22:35:22 +0000 (15:35 -0700)
dit::TestPackage was still using ResourcePrefix archive wrapper, while
tests had been updated to use full paths. This broke image_io and
image_compare tests.

Change-Id: Ied8cca7914d18059ca13493554f19351426c7d5d

modules/internal/ditTestPackage.cpp
modules/internal/ditTestPackage.hpp

index e2be5cd..a290c70 100644 (file)
@@ -78,8 +78,7 @@ public:
 };
 
 TestPackage::TestPackage (tcu::TestContext& testCtx)
-       : tcu::TestPackage      (testCtx, "dE-IT", "drawElements Internal Tests")
-       , m_archive                     (testCtx.getRootArchive(), "internal/")
+       : tcu::TestPackage(testCtx, "dE-IT", "drawElements Internal Tests")
 {
 }
 
index c42a9ee..d04dfa3 100644 (file)
@@ -25,7 +25,6 @@
 
 #include "tcuDefs.hpp"
 #include "tcuTestPackage.hpp"
-#include "tcuResource.hpp"
 
 namespace dit
 {
@@ -38,10 +37,6 @@ public:
 
        virtual void                                    init                                    (void);
        tcu::TestCaseExecutor*                  createExecutor                  (void) const;
-       tcu::Archive*                                   getArchive                              (void) { return &m_archive; }
-
-private:
-       tcu::ResourcePrefix                             m_archive;
 };
 
 } // dit