first stb at unimplemnted detection fixing Windows code Daniel

* runsuite.c: first stb at unimplemnted detection
* runtest.c: fixing Windows code
Daniel
diff --git a/runsuite.c b/runsuite.c
index c7dab7a..deef129 100644
--- a/runsuite.c
+++ b/runsuite.c
@@ -71,6 +71,7 @@
 static int nb_errors = 0;
 static int nb_internals = 0;
 static int nb_schematas = 0;
+static int nb_unimplemented = 0;
 static int nb_leaks = 0;
 static long libxmlMemoryAllocatedBase = 0;
 static int extraMemoryFromResolver = 0;
@@ -908,6 +909,14 @@
 	if (schemas == NULL) {
 	    test_log("valid schemas %s failed to parse\n",
 			path);
+	    ret = 1;
+	    nb_errors++;
+	}
+	if ((ret == 0) && (strstr(testErrors, "nimplemented") != NULL)) {
+	    test_log("valid schemas %s hit an unimplemented block\n",
+			path);
+	    ret = 1;
+	    nb_unimplemented++;
 	    nb_errors++;
 	}
 	instance = getNext(cur, "./ts:instanceTest[1]");
@@ -929,6 +938,14 @@
 	    test_log("Failed to detect error in schemas %s\n",
 			path);
 	    nb_errors++;
+	    ret = 1;
+	}
+	if ((ret == 0) && (strstr(testErrors, "nimplemented") != NULL)) {
+	    nb_unimplemented++;
+	    test_log("invalid schemas %s hit an unimplemented block\n",
+			path);
+	    ret = 1;
+	    nb_errors++;
 	}
     } else {
         test_log("testGroup line %ld misses unexpected validity value%s\n",