[M3commit] CVS Update: cm3

Jay Krell jkrell at elego.de
Sun May 4 12:28:26 CEST 2008


CVSROOT:	/usr/cvs
Changes by:	jkrell at birch.	08/05/04 12:28:26

Modified files:
	cm3/m3-sys/m3tests/src/: Test.common m3makefile 
	cm3/m3-sys/m3tests/src/p0/p010/: Main.m3 

Log message:
	output to foo.raw and then create foo that
	is "normalized"
	
	move the normalization code to Test.common so it
	happens when building in leaves
	share Test.common into the root, and sleazily avoid
	program("pgm") via stale("Test.common") (with a clear
	variable name to explain the trickery)
	
	add to the "normalization" truncation of stack dumps
	before they become "random"
	we have to fully remove stack dumps, as there is a file
	that just says "aborted" in place of a stack dump, perhaps
	stack dumps don't work on most platforms?
	Either way, this is progress along the right lines.
	
	for example, test r0\r001 prints:
	
	C:\dev2\cm3\m3-sys\m3tests\src\r0\r001>type NT386\stderr.pgm.raw
	
	***
	*** runtime error:
	***    Unhandled exception: Main.a
	***    file "..\Main.m3", line 13
	***
	
	Stack trace:
	FP         PC      Procedure
	---------  ---------  -------------------------------
	0x12fee0   0x401084  Main_M3 + 0x34 in ..\Main.m3
	
	C:\dev2\cm3\m3-sys\m3tests\src\r0\r001>type NT386\stderr.pgm
	
	***
	*** runtime error:
	***    Unhandled exception: Main.a
	***    file "../Main.m3", line 13
	***
	
	Stack trace:
	FP         PC      Procedure
	---------  ---------  -------------------------------
	0x
	
	Clearly the non-raw output is more viable.
	The unhandled exception is expected.
	
	remove tabs in p0/p010/Main.m3




More information about the M3commit mailing list