Branch: Tag:

2001-01-02

2001-01-02 03:18:21 by Martin Nilsson <mani@lysator.liu.se>

Testsuit should fail if any pike module fails to compile

Rev: src/testsuite.in:1.359

1: - test_true([["$Id: testsuite.in,v 1.358 2001/01/01 15:18:27 mirar Exp $"]]); + test_true([["$Id: testsuite.in,v 1.359 2001/01/02 03:18:21 nilsson Exp $"]]);      cond([[all_constants()->_verify_internals]],   [[
6074:    {    werror("test: failed to compile %O\n",file);    ok=0; +  continue;    }    string prg = replace( file[base_size+1..sizeof(file)-6], ([ "/":".", ".pmod":""]) );    if(prg[sizeof(prg)-7..]==".module")    prg = prg[..sizeof(prg)-8]; -  if( catch( master()->resolv(prg) ) ) +  if( catch( master()->resolv(prg) ) ) {    werror("test: failed to compile and peek at %O\n", prg); -  +  ok=0;    }    }    }    }    } -  + }   int a()   {    Array.map(master()->pike_module_path,test_dir);