was nearly useless; lots of fixes to qemuppc and pc86 sbrk(), which was broken; change the pc86 console to echo output to the serial port (needed for running tests on qemu).
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			261 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			261 B
		
	
	
	
		
			C
		
	
	
	
	
	
#ifndef TEST_H
 | 
						|
#define TEST_H
 | 
						|
 | 
						|
#include <unistd.h>
 | 
						|
#include <stdint.h>
 | 
						|
 | 
						|
extern void finished(void);
 | 
						|
extern void writehex(uint32_t code);
 | 
						|
extern void fail(uint32_t code);
 | 
						|
 | 
						|
#define ASSERT(condition) \
 | 
						|
    do { if (!(condition)) fail(__LINE__); } while(0)
 | 
						|
 | 
						|
#endif
 |