aboutsummaryrefslogtreecommitdiffstats
path: root/travis/test
Commit message (Collapse)AuthorAgeFilesLines
* travis: add br3392739Cyrill Gorcunov2021-02-213-0/+15
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* Merge branch 'nasm-2.15.xx'Cyrill Gorcunov2020-12-316-0/+91
|\ | | | | | | | | * nasm-2.15.xx: preproc: prohibit unmacro while macro expansion
| * preproc: prohibit unmacro while macro expansionnasm-2.15.xxIgor Munkin2020-12-316-0/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If macro is undefined while it's being expanded, use after free occurs, since the MMacro instance is released, but it is still used to proceed the expansion. This change forbids macro undefinition: non-fatal error is raised and the MMacro instance is not released if it is being processed by NASM preprocessor. Consider the following example: | $ cat test.asm | %macro m 0 | %unmacro m 0 | %endmacro | m | $ ./nasm test.asm | test.asm:4: error: `%unmacro' can't undefine the macro being expanded | test.asm:2: ... from macro `m' defined here Fixes BR3392531 and BR3392716. Signed-off-by: Igor Munkin <imun@cpan.org> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add br3392637Cyrill Gorcunov2020-11-044-0/+82
| | | | | | | | | | | | | | Code for testcase provided by Suhwan. Reported-by: Suhwan <prada960808@gmail.com> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add rdpidCyrill Gorcunov2020-10-154-0/+46
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: update avxCyrill Gorcunov2020-10-152-0/+2
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add immCyrill Gorcunov2020-10-153-0/+38
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add ilogCyrill Gorcunov2020-10-155-0/+343
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add hleCyrill Gorcunov2020-10-154-0/+36
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add hexfpCyrill Gorcunov2020-10-153-0/+37
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add gatherCyrill Gorcunov2020-10-153-0/+24
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add floatxCyrill Gorcunov2020-10-154-0/+553
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: update float testCyrill Gorcunov2020-10-152-0/+34
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add ctxlocalCyrill Gorcunov2020-10-153-0/+37
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add cofftestCyrill Gorcunov2020-10-153-0/+97
| | | | | | | | | | | | | | | | Lets run it as win32 since they are sharing backends in most places but win32 is a way more widely used. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add coffalignCyrill Gorcunov2020-10-153-0/+29
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add insertpsCyrill Gorcunov2020-10-113-0/+22
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add masmdispCyrill Gorcunov2020-10-113-0/+61
| | | | | | | | | | | | | | | | It is failing right now so I'm not sure if masm test is correct one. Lets merge it in this form and update if needed. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add movd64Cyrill Gorcunov2020-10-114-0/+43
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add movhpdCyrill Gorcunov2020-10-113-0/+28
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: update nasmformatCyrill Gorcunov2020-10-1118-11/+74
| | | | | | | | | | | | | | | | No need to generate binaries, just compare __OUTPUT_FORMAT__ output and add missing formats. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add objexeCyrill Gorcunov2020-10-113-0/+42
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add timeCyrill Gorcunov2020-10-112-0/+29
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add selfrefCyrill Gorcunov2020-10-113-0/+39
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add timesnegCyrill Gorcunov2020-10-103-0/+18
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add pragmaCyrill Gorcunov2020-10-103-0/+34
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add ppindirectCyrill Gorcunov2020-10-103-0/+157
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add nullfileCyrill Gorcunov2020-10-103-0/+15
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add br3392278Cyrill Gorcunov2020-10-103-0/+33
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add strlenCyrill Gorcunov2020-10-103-0/+20
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add splitea testCyrill Gorcunov2020-10-103-0/+23
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add ssesizeCyrill Gorcunov2020-10-103-0/+26
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | Merge branch 'nasm-2.15.xx'Cyrill Gorcunov2020-10-1050-50/+51
|\| | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
| * nasm-t: do not strip newlines from outputnasm-2.15.xx-travisCyrill Gorcunov2020-09-1850-50/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | Currently we strip newlines from files on read and write procedures for better diff output, but as being pointed by hpa@ this makes quite inconvenient to work with tests in a manual mode. Thus lets left outputs as is. We have to update all tests with template outputs since by default output streams are ending with newline. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | Merge remote-tracking branch 'github/nasm-2.15.xx'H. Peter Anvin (Intel)2020-09-1110-5/+92
|\| | | | | | | | | | | No conflicts. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
| * travis: add br3392442Cyrill Gorcunov2020-09-074-0/+19
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
| * travis: add br3392707Cyrill Gorcunov2020-09-065-0/+68
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
| * travis: warnstack -- fix spacesCyrill Gorcunov2020-09-061-5/+5
| | | | | | | | | | | | | | We use tabs in json so make it consistent. No functional change. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | Merge tag 'nasm-2.15.05'H. Peter Anvin (Intel)2020-08-3180-10/+2681
|\| | | | | | | | | | | | | | | | | | | NASM 2.15.05 Resolved Conflicts: asm/preproc.c version Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
| * Add option to create reproducible outputH. Peter Anvin (Intel)2020-08-274-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need the ability to produce consistent output for our own tests, anyway, so make this a user-accessible feature. This was requested in BR 3392635. This obsoletes the NASM_TEST_RUN environment variable; simply use the normal NASMENV environment variable instead. The .obj tests in travis needed to be updated in order to remove the rather pointless suffix " CONST" from the NASM signatures. Reported-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
| * travis: fix "warnstack" testH. Peter Anvin (Intel)2020-08-274-17/+8
| | | | | | | | | | | | | | | | The "warnstack" test is supposed to test the warning stack, but the [warning] directive is never seen in preprocess-only mode, so run it in -f bin mode. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
| * BR 3392715: fix %ifid with $ and $$H. Peter Anvin (Intel)2020-08-273-0/+33
| | | | | | | | | | | | | | | | %ifid $ and %ifid $$ has traditionally been false, revert to that behavior. Reported-by: Mike Hommey <mh+anfz@glandium.org> Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
| * trevis: unify tmap descriptorCyrill Gorcunov2020-08-252-10/+12
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
| * travis: add lwpCyrill Gorcunov2020-08-253-0/+225
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
| * travis: enable winalign testCyrill Gorcunov2020-08-252-1/+0
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
| * travis: add br3392411Cyrill Gorcunov2020-08-253-0/+34
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
| * travis: add br3392363Cyrill Gorcunov2020-08-253-0/+18
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
| * travis: add br3392396Cyrill Gorcunov2020-08-253-0/+18
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
| * travis: add br3392392Cyrill Gorcunov2020-08-254-0/+37
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
| * travis: add v4Cyrill Gorcunov2020-08-254-0/+40
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>