Moved union vector test to file dependent section.
authorWouter van Oortmerssen <aardappel@gmail.com>
Wed, 25 Jan 2017 22:09:18 +0000 (14:09 -0800)
committerWouter van Oortmerssen <aardappel@gmail.com>
Wed, 25 Jan 2017 22:09:18 +0000 (14:09 -0800)
Change-Id: I3a1fcf167eb0d0a51ef838e54246ef867e752218

tests/test.cpp

index 74f98ff..dc85072 100644 (file)
@@ -1374,6 +1374,7 @@ int main(int /*argc*/, const char * /*argv*/[]) {
   ParseAndGenerateTextTest();
   ReflectionTest(flatbuf.get(), rawbuf.length());
   ParseProtoTest();
+  UnionVectorTest();
   #endif
 
   FuzzTest1();
@@ -1391,7 +1392,6 @@ int main(int /*argc*/, const char * /*argv*/[]) {
   InvalidUTF8Test();
   UnknownFieldsTest();
   ParseUnionTest();
-  UnionVectorTest();
   ConformTest();
 
   if (!testing_fails) {