From fb40f88c409da18ee69a7450e1b8f9528f3538ee Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 22 Sep 2008 13:47:53 -0700 Subject: test cleanup - do not print tracebacks if $GOTRACEBACK=0 - set GOTRACEBACK=0 during tests - filter out pc numbers in errors R=r DELTA=70 (22 added, 30 deleted, 18 changed) OCL=15618 CL=15642 --- src/runtime/runtime.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/runtime/runtime.h') diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h index 04f1737dd0..3d439ca452 100644 --- a/src/runtime/runtime.h +++ b/src/runtime/runtime.h @@ -212,6 +212,7 @@ void mcpy(byte*, byte*, uint32); void* mal(uint32); uint32 cmpstring(string, string); void initsig(void); +int32 gotraceback(void); void traceback(uint8 *pc, uint8 *sp, G* gp); void tracebackothers(G*); int32 open(byte*, int32, ...); -- cgit v1.3-5-g9baa