aboutsummaryrefslogtreecommitdiffstats
path: root/travis/test
Commit message (Collapse)AuthorAgeFilesLines
* preproc, srcfile: much saner handling of %line directivesH. Peter Anvin (Intel)2020-06-141-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | %line directives really need to be preprocessed early, before normal directive processing. In particular, they are *not* affected by such thing as smacro expansion, or deferred into an mmacro expansion. The %line directive is special because it is explicitly indented to be inserted by an external preprocessor, which can happen at any point. For mmacro and rep expansions, store the current file and line for each expansion line. Similarly, let each istk entry contain such information. Don't emit empty lines in preprocessing-only mode when we are already required to issue a %line directive anyway. This cuts down on clutter a fair bit. Quote filenames in %line directives (and accept quoted filenames in %line directives) if and only if it is necessary for disambiguation. This is required if: 1. The filename contains control characters; 2. The filename begins or ends with whitespace or a quotation mark; 3. The filename is empty. Otherwise issue the filename as-is, for backwards compatibility. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* travis: utf-error.stderr: remove unnecessary error messageH. Peter Anvin (Intel)2020-06-051-3/+0
| | | | | | | The error message "comma expected after operand 2" no longer occurs in this program, this is an acceptable divergence, however. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* travis: test avx512f should now passH. Peter Anvin (Intel)2020-06-053-574/+1
| | | | Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* travis utf-error test: update error messagesH. Peter Anvin2019-09-121-15/+15
| | | | | | Update error messages to match the new __?*?__ namespace. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* travis: update warning outputH. Peter Anvin (Intel)2019-08-094-111/+111
| | | | | | | Update warning formatting after verifying that the new output is indeed still correct. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* Warn if trying to assemble obsolete instructionsH. Peter Anvin (Intel)2019-08-062-1/+3
| | | | | | | | | | | | | | | Print a warning if one tries to assemble an obsolete instruction, unless there is an exact match for the CPU directive. For example: CPU 386 POP CS ; Warning - obsolete instruction CPU 8086 POP CS ; No warning Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* Add group aliases for all prefixed warnings.H. Peter Anvin2019-06-064-4/+4
| | | | | | | For example, -w+float will now enable all warnings with names staring with float-*. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* strfunc: better error messages if a string transform failsH. Peter Anvin2019-06-061-3/+3
| | | | | | Let the user know what string transform actually failed on them. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Warnings: move zeroing reserved space to a separate warning classH. Peter Anvin (Intel)2019-01-113-3/+3
| | | | | | | Zeroing reserved space in a progbits section really should be a separate warning class, so it can be controlled independently. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* test: nasm-t -- Use plain stderr extension for error streamCyrill Gorcunov2018-12-232-1/+1
| | | | | | Just to unify with other tests Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Add clzero caseCyrill Gorcunov2018-12-234-0/+51
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Update testsCyrill Gorcunov2018-12-164-9/+2826
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Update multisectionCyrill Gorcunov2018-12-152-2/+2
| | | | | | We start printing [-w+other] Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Update riprelCyrill Gorcunov2018-12-151-6592/+5184
| | | | | | We provide [-w+other] in output. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Update prefix66Cyrill Gorcunov2018-12-151-6/+6
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Update multisectionCyrill Gorcunov2018-12-151-1/+1
| | | | | | Now we provide -w-other in output. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Update moutCyrill Gorcunov2018-12-151-1/+1
| | | | | | We start printing space after file name. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Fix typoCyrill Gorcunov2018-12-152-3/+5
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Update floatb testCyrill Gorcunov2018-12-152-1/+8
| | | | | | | We start reporting overflow in float-points which we previously missed. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Update bcd testCyrill Gorcunov2018-12-151-2/+2
| | | | | | We start printing [-w+other] in warning report. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Update floatbCyrill Gorcunov2018-12-012-0/+24
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Update macro-defaultsCyrill Gorcunov2018-11-291-3/+3
| | | | | | We started printing macro name in 1722fcf81cee0209d5907b4ae0c51c309401c053 Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: Use NASM_TEST_RUN environmentCyrill Gorcunov2018-11-2411-8/+8
| | | | | | | | To placate false positives in outputs which writes nasm comment an signature into binary form. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Test for sigsegv on multiple outputsCyrill Gorcunov2018-11-242-0/+14
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Add br3392528Cyrill Gorcunov2018-11-143-0/+20
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Extend inctestCyrill Gorcunov2018-11-122-1/+7
| | | | | | To address https://bugzilla.nasm.us/show_bug.cgi?id=3392527 Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Add br560575Cyrill Gorcunov2018-11-113-0/+45
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Add br978756Cyrill Gorcunov2018-11-113-0/+18
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Add br3392259Cyrill Gorcunov2018-11-113-0/+19
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Add br3392252Cyrill Gorcunov2018-11-113-0/+53
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Add br3200749Cyrill Gorcunov2018-11-113-0/+22
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Add br3385573Cyrill Gorcunov2018-11-113-0/+27
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Add br3189064Cyrill Gorcunov2018-11-113-0/+23
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Add br3187743Cyrill Gorcunov2018-11-113-0/+23
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Add br3174983Cyrill Gorcunov2018-11-113-0/+25
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Add br3109604Cyrill Gorcunov2018-11-113-0/+24
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Add br3066383Cyrill Gorcunov2018-11-113-0/+80
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Add br3058845Cyrill Gorcunov2018-11-114-0/+33
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Add br3041451Cyrill Gorcunov2018-11-114-0/+73
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Add br3028880Cyrill Gorcunov2018-11-113-0/+53
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Add br3026808Cyrill Gorcunov2018-11-113-0/+30
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Add br890790Cyrill Gorcunov2018-11-114-0/+19
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Add br2222615Cyrill Gorcunov2018-11-114-0/+38
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Add nasmformatCyrill Gorcunov2018-11-117-0/+62
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Add multisectionCyrill Gorcunov2018-11-118-0/+130
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Add macro-defaultsCyrill Gorcunov2018-11-114-0/+159
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Add lnxhelloCyrill Gorcunov2018-11-113-0/+60
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Add ifelseCyrill Gorcunov2018-11-114-0/+63
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Add expimpCyrill Gorcunov2018-11-119-0/+154
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* test: nasm-t -- Add elifCyrill Gorcunov2018-11-113-0/+50
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>