test/harness/loupe-test.c
changeset 8 cf332d440466
parent 5 f600b0d1fc5d
child 11 4a80c6053a66
     1.1 --- a/test/harness/loupe-test.c	Fri Jan 27 10:30:16 2012 +0000
     1.2 +++ b/test/harness/loupe-test.c	Fri Jan 27 23:59:51 2012 +0000
     1.3 @@ -1,6 +1,7 @@
     1.4  #include <stdlib.h>
     1.5  #include <stdio.h>
     1.6  #include <string.h>
     1.7 +#include <glib.h>
     1.8  #include <bl/bl.h>
     1.9  #include "testcase.h"
    1.10  #include "testcaseio.h"
    1.11 @@ -9,10 +10,10 @@
    1.12   * Returns FALSE if the test should be considered to have failed.
    1.13   * (returns TRUE on pass or expected-fail).
    1.14   */
    1.15 -boolean run_test(const char *filename)
    1.16 +gboolean run_test(const char *filename)
    1.17  {
    1.18      Testcase *testcase;
    1.19 -    boolean retval;
    1.20 +    gboolean retval;
    1.21      testcase=testcase_parse_file(filename);
    1.22      if (!testcase)
    1.23  	return FALSE;
    1.24 @@ -24,7 +25,7 @@
    1.25  int main(int argc,char **argv)
    1.26  {
    1.27      int i;
    1.28 -    boolean pass=TRUE;
    1.29 +    gboolean pass=TRUE;
    1.30      for(i=1;i<argc;i++)
    1.31  	pass&=run_test(argv[i]);
    1.32      return pass?0:1;