tests: link them dynamically by default

. so that functionality is tested
	. add test63 that actually tests dlopen(), dlsym(),
	  etc. functionality; only built if clang supports it
	. also test10 test to copy more of the executable
This commit is contained in:
Ben Gras
2012-04-08 19:22:02 +02:00
parent 4b999f1962
commit 0c8e5ecc2e
6 changed files with 117 additions and 7 deletions

View File

@@ -114,10 +114,7 @@ int size;
{
int fd;
#if (CHIP == SPARC)
size += 4000;
#endif
prog[6] = (long) size;
size += 3000;
fd = creat(name, 0755);
write(fd, (char *) prog, psize);
close(fd);