pike.git / bin / test_pike.pike

version» Context lines:

pike.git/bin/test_pike.pike:1:   #! /usr/bin/env pike    - /* $Id: test_pike.pike,v 1.88 2003/08/14 15:48:49 grubba Exp $ */ + /* $Id: test_pike.pike,v 1.89 2003/08/14 15:49:11 grubba Exp $ */      #if !constant(_verify_internals)   #define _verify_internals()   #endif      #if !constant(_dmalloc_set_name)   void _dmalloc_set_name(mixed ... args) {}   #endif      int foo(string opt)
pike.git/bin/test_pike.pike:21:   mapping(string:int) cond_cache=([]);      #if constant(thread_create)   #define HAVE_DEBUG   #endif      void print_code(string test)   {    array lines = Locale.Charset.encoder("iso-8859-1", 0,    lambda(string s) { -  return sprintf("\%o", s[0]); +  return sprintf("\\%o", s[0]);    })->feed(test)->drain()/"\n";    foreach(lines; int r; string line) {    werror("%3d: %s\n", r+1, line);    }    werror("\n");    return;   }      array find_testsuites(string dir)   {