[Bug web/54711] New: Fix --target_board examples on test.html page

sje at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 25 20:09:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54711

             Bug #: 54711
           Summary: Fix --target_board examples on test.html page
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: web
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: sje@gcc.gnu.org


>From http://gcc.gnu.org/install/test.html


You can run the testsuites multiple times using combinations of options with a
syntax similar to the brace expansion of popular shells:

     ..."--target_board=arm-sim\{-mhard-float,-msoft-float\}\{-O1,-O2,-O3,\}"

(Note the empty option caused by the trailing comma in the final group.) The
following will run each testsuite eight times using the `arm-sim' target, as if
you had specified all possible combinations yourself:

     --target_board=arm-sim/-mhard-float/-O1
     --target_board=arm-sim/-mhard-float/-O2
     --target_board=arm-sim/-mhard-float/-O3
     --target_board=arm-sim/-mhard-float
     --target_board=arm-sim/-msoft-float/-O1
     --target_board=arm-sim/-msoft-float/-O2
     --target_board=arm-sim/-msoft-float/-O3
     --target_board=arm-sim/-msoft-float



If you run 'runtest' with multiple --target_board options only the last one
will get run.  The list should show:

     --target_board='arm-sim/-mhard-float/-O1 \
                     arm-sim/-mhard-float/-O2 \
                     arm-sim/-mhard-float/-O3 \
                     arm-sim/-mhard-float \
                     arm-sim/-msoft-float/-O1 \
                     arm-sim/-msoft-float/-O2 \
                     arm-sim/-msoft-float/-O3 \
                     arm-sim/-msoft-float'

I.e. a single --target_board option with multiple space separated board names.
That is the equivelant of the initial target_board list that uses the braces.



More information about the Gcc-bugs mailing list