summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix major bug related to multiple handling. Unfortunately this slows downPeter Johnson2006-05-111-0/+3
| | | | | | | | | | | | | | | | | | | | | bytecode multiple output significantly, but this way handles generating relocations correctly (otherwise extern foo; times 5 dd foo doesn't work!). * bytecode.h (yasm_bc_tobytes): Remove multiple output parameter. (yasm_bc_get_multiple): New. * bytecode.c (yasm_bc_tobytes): Update to iterate through multiple here. (yasm_bc_get_multiple): New. * xdf-objfmt.c, elf-objfmt.c, bin-objfmt.c, coff-objfmt.c: Don't iterate through multiple here. * nasm-listfmt.c: Use yasm_bc_get_multiple() to get multiple instead of yasm_bc_tobytes(). * bytecode.pxi: Update. * tests/win32-relocovfl.asm: Tests both this and [1534] but generates too huge of a file (3MB) to be put into the automated tests. svn path=/trunk/yasm/; revision=1536
* Add automated arch/x86 tests. Some were moved from tests/nasm, others are new.Peter Johnson2002-10-035-51/+0
| | | | svn path=/trunk/yasm/; revision=734
* Add some bin objfmt related testcases. These should go into a frameworkPeter Johnson2002-03-187-0/+78
| | | | | | sometime! svn path=/trunk/yasm/; revision=532
* Use non-preprocessed BITS directive so this can be assembled with current YASM.Peter Johnson2002-03-021-1/+1
| | | | svn path=/trunk/yasm/; revision=477
* Test circular reference detection. Very basic examples from NASM's docs onPeter Johnson2002-02-204-0/+9
| | | | | | | | | critical expressions. NASM behavior: 1-3 fail, 4 generates a 4-byte offset in the memory expression. YASM behavior: 1&2 fail (and rightfully so :), 3 works as expected, and 4 generates a 1-byte offset. svn path=/trunk/yasm/; revision=473
* Massive build system change: single Makefile instead of recursive.Peter Johnson2001-12-261-23/+0
| | | | | | | | | Note: still is automake-generated, but uses .inc files in the various subdirectories instead of .am files. TODO: Move arch-specific components of bytecode_test and memexpr_test to arch/x86. svn path=/trunk/yasm/; revision=395
* General tests of directives.Peter Johnson2001-11-211-0/+14
| | | | svn path=/trunk/yasm/; revision=362
* Test the imm and imm8x forms of add.Peter Johnson2001-11-211-0/+4
| | | | svn path=/trunk/yasm/; revision=361
* Add two larger NASM-preprocessed files from UIUC ECE 291's PModeLib as morePeter Johnson2001-11-212-0/+2840
| | | | | | typical assembly files. svn path=/trunk/yasm/; revision=360
* Test global/common sharing in addition to extern.Peter Johnson2001-11-211-2/+4
| | | | svn path=/trunk/yasm/; revision=359
* How does NASM's bin format handle sections?Peter Johnson2001-11-211-0/+11
| | | | svn path=/trunk/yasm/; revision=358
* Allow multiple EXTERN's of same variable without error (NASM's behavior).Peter Johnson2001-11-201-0/+2
| | | | svn path=/trunk/yasm/; revision=354
* Decided to go ahead and commit these little NASM-syntax test files I've beenPeter Johnson2001-11-1732-0/+483
| | | | | | | | using for testing various things during development. Many don't even actually assemble, as they're testing error conditions. These all need to be integrated into a test suite at some point to be truly useful. svn path=/trunk/yasm/; revision=336
* Try to fix configure and automake files so everything builds a bit cleaner.Peter Johnson2001-09-201-0/+2
| | | | | | | Also try to fix the warnings on the GNU C Library. Still a lot of work and testing to be done here, but making progress. svn path=/trunk/yasm/; revision=204
* Allow make check and tests module to be disabled, as it's not portable yet.Peter Johnson2001-09-191-0/+5
| | | | svn path=/trunk/yasm/; revision=200
* Cleanup of local .cvsignore files after addition of global CVSROOT/cvsignore.Peter Johnson2001-09-181-4/+0
| | | | svn path=/trunk/yasm/; revision=193
* Add unit test framework using Check (http://check.sourceforge.net/).Peter Johnson2001-09-182-0/+20
Only test included right now is a tiny one for one bytecode function, but will grow as time goes on. TODO: check for non ANSI C things required by Check. svn path=/trunk/yasm/; revision=190