On 08/02/16 14:37, David Lonie wrote:
> No idea what's happening there, but you can run ctest with -V to see
> the process output for the failing tests.
Thanks, that helps a bit. Now I get
5: Test command: /Users/spoel/GG/openbabel-dev/build/bin/test_runner
"aligntest" "5"
5: Environment variables:
5: BABEL_DATADIR=/Users/spoel/GG/openbabel-dev/openbabel/data
5: LD_LIBRARY_PATH=/Users/spoel/GG/openbabel-dev/build/lib
5: Test timeout computed to be: 1500
5: test_runner(86947,0x7fff7af0f310) malloc: *** error for object
0x105d64950: pointer being freed was not allocated
5: *** set a breakpoint in malloc_error_break to debug
5/150 Test #5: test_align_5 .....................***Exception:
Other 6.48 sec
Then debugging that I find it breaks at
165 //Return true if non-empty line read, false if empty line
read or eof or error
166 bool OBDefine::ReadLine(istream& ifs, string& ln, bool
removeComments)
167 {
-> 168 if(getline(ifs, ln))
169 {
170 if(removeComments)
171 {
(lldb) p ifs
error: incomplete type 'istream' (aka 'basic_istream<char,
char_traits<char> >') where a complete type is required
note: forward declaration of 'basic_istream<char, char_traits<char> >'
error: 1 errors parsing expression
(lldb) p ln
(string) $0 = {}
Nothing obviously wrong here.
>
> Dave
>
> On Mon, Feb 8, 2016 at 8:28 AM, David van der Spoel
> <[email protected]> wrote:
>> Hi,
>>
>> if I compiled OB with -DCMAKE_BUILD_TYPE=Debug on my mac (OSX Mavericks,
>> gcc 4.9) many tests fail with
>> 4/150 Test #4: test_align_4 .....................***Exception: Other
>> 6.57 sec
>> Start 5: test_align_5
>> 5/150 Test #5: test_align_5 .....................***Exception:
>> Other 6.78 sec
>> Start 6: test_automorphism_1
>> 6/150 Test #6: test_automorphism_1 ..............***Exception:
>> Other 6.46 sec
>> Start 7: test_automorphism_2
>>
>> Using the normal Release build type all tests pass. Any idea?
>> (I compiled it like that in order to debug a particular test).
>>
>> On Linux the build_type has no influence on the tests.
>>
>> Cheers,
>> --
>> David van der Spoel, Ph.D., Professor of Biology
>> Dept. of Cell & Molec. Biol., Uppsala University.
>> Box 596, 75124 Uppsala, Sweden. Phone: +46184714205.
>> [email protected] http://folding.bmc.uu.se
>>
>> ------------------------------------------------------------------------------
>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>> Monitor end-to-end web transactions and take corrective actions now
>> Troubleshoot faster and improve end-user experience. Signup Now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
>> _______________________________________________
>> OpenBabel-Devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/openbabel-devel
--
David van der Spoel, Ph.D., Professor of Biology
Dept. of Cell & Molec. Biol., Uppsala University.
Box 596, 75124 Uppsala, Sweden. Phone: +46184714205.
[email protected] http://folding.bmc.uu.se
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
OpenBabel-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbabel-devel