[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#793346: hyphy: FTBFS (32-bit): SimpleListTest._LengthConstructorTest fails



The test looks like this:

   _SimpleList sl((long)7);
   EXPECT_EQ(8,sizeof(sl.lData));

where _SimpleList is defined as:

class _SimpleList:public BaseObj
{ ...
       long* lData;
	...
}

So what the test essentially checks if pointer size is 8. This is of course false on 32-bit architectures, and not a useful thing to check elsewhere.

I'm certain that upstream meant to check for something else, but not sure what exactly.

So I'd ask upstream to fix their broken test, and disable it in the mean time.

--
Jakub Wilk


Reply to: