[gmx-developers] Test fail due to newline?

David van der Spoel spoel at xray.bmc.uu.se
Fri Apr 14 00:21:48 CEST 2017


Hi,

I'm trying to test the writing of an xpm file using ExactTextMatch but 
it fails. Could that be due to newline characters in the data file? The 
patch is here:

https://gerrit.gromacs.org/#/c/6546/

The problem seems to be in the CDATA section.
% od -a ClustsizeTest_MolCSize.xml
<snip>
0000320   S   t   r   i   n   g  sp   N   a   m   e   =   "   C   o   n
0000340   t   e   n   t   s   "   >   <   !   [   C   D   A   T   A   [
0000360  nl   /   *  sp   X   P   M  sp   *   /  nl   /   *  sp   T   h
                                                  ^^
Is the nl character portable?

Felmeddelande:

/home/jenkins/workspace/Gromacs_Gerrit_master_nrwpo/c046391a/gromacs/src/testutils/refdata.cpp:887
   In item: /Files/-ow/Contents
    Actual: '/* XPM */
/* This file can be converted to EPS by the GROMACS program xpm2ps */

Reference: '/* XPM */
/* This file can be converted to EPS by the GROMACS program xpm2ps */

-- 
David van der Spoel, Ph.D., Professor of Biology
Head of Department, Cell & Molecular Biology, Uppsala University.
Box 596, SE-75124 Uppsala, Sweden. Phone: +46184714205.
http://www.icm.uu.se


More information about the gromacs.org_gmx-developers mailing list