Menu

testsuite .at files - question.

David Wall
2021-09-09
2021-09-09
  • David Wall

    David Wall - 2021-09-09

    I've managed to 'patch' testsuite to keep all the intermediate files - so as to try and duplicate the testing outside of Mingw.
    I have a small question for either Brian T or Simon S.
    Any particular reason why there is an open square bracket in front of a number of tests in the data_pointer, listings & used_binaries .at test source files. Could they be removed for consistency.
    It does look rather strange & I don't think they actually need to be there eg: [AT_CHECK something...

     
    • Simon Sobisch

      Simon Sobisch - 2021-09-09

      Those are used for grouping (I think that's the m4 notation, but I would have to check).

      The normal test uses a single command and matches its return code/syser/sysout to either pass or fail.
      In some cases we actually want to run more commands depending on the initial result (which is used as a complex if/else, commonly to distinguish between 64bit and 32bit - which gets different pointer sizes and similar).

       
      • David Wall

        David Wall - 2021-09-09

        Sorry - wrong list - try again:
        0006 compiler outputs assembler, 0421 symbols pointer, 1135 pointer display

         

        Last edit: David Wall 2021-09-09

Anonymous
Anonymous

Add attachments
Cancel