Debian Codegraph @

gcc/testsuite/gcc.target/msp430/devices/README

raw
1 Some tests in this directory are run in a msp430-specific "torture" style,
2 where all target specific options (that change code generation) are each used
3 on each test source file in turn.
4
5 The criteria for this torture style of testing is:
6 - The source file has a .c suffix
7 - The source file is in this "devices" subdirectory of the msp430 tests
8 - Somewhere in the test file name matches the regex:
9 [a-z0-9]+430[a-z0-9_]+(?=\.c).
10
11 Some of the options used to run the tests will produce warnings/errors for the
12 mcus, so ensure the test has dg-warning and dg-error directives as appropriate.
13
14 The "bad-device-*.c" tests expect a corresponding "bad-devices-*.csv", which
15 msp430.exp will pass as the argument to -mdevices-csv-loc=. These tests are for
16 checking the warnings in msp430-devices.c about a corrupted devices.csv work as
17 expected.