pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:1: - test_true([["$Id: testsuite.in,v 1.585 2003/03/28 14:32:20 marcus Exp $"]]); + test_true([["$Id: testsuite.in,v 1.586 2003/03/29 10:52:29 marcus Exp $"]]);      // This triggered a bug only if run sufficiently early.   test_compile_any([[#pike 7.2]])      cond([[all_constants()->_verify_internals]],   [[    test_do(_verify_internals())   ]]);   test_eq(1e1,10.0);   test_eq(1E1,10.0);
pike.git/src/testsuite.in:8751:    string file=combine_path(dir,s);    mixed stat=file_stat(file);    if(!stat) continue;    if(stat[1]==-2 && has_suffix(file, ".pmod"))    {    test_resolv(file, base_size, handler);    test_dir(file, base_size, handler);    }    else if(stat[1]>=0){    // werror("Testing file %O\n", file); -  if(has_suffix(file, ".pike") || has_suffix(file, ".pmod")) +  if(has_suffix(file, ".pike") || has_suffix(file, ".pmod") || +  has_suffix(file, ".so"))    {   #if 0    mixed err=catch { (program)file; };    if (err)    {    werror("test: failed to compile %O\n",file);    ok=0;    continue;    }   #endif -  test_resolv(file, base_size, handler); +  test_resolv(file+(has_suffix(file, ".so")? "XX":""), +  base_size, handler);    }    }    }   }   int a()   {    Array.map(master()->pike_module_path,test_dir);    foreach(({"0.6","7.0","7.2"}),string ver) {    object handler = master()->get_compilation_handler(@(array(int))(ver/"."));    Array.map(handler->pike_module_path,test_dir,0,handler);