]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server-testcase/framework.qc
Merge remote-tracking branch 'origin/matthiaskrgr/screenshotcmd' into matthiaskrgr...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server-testcase / framework.qc
index d9f1add2c5e26b4a7c5772d77647cea1e722fa31..1ec7115ef27c503b55cd6c723a2a14e97a77afba 100644 (file)
@@ -1,18 +1,18 @@
-void dprint(string s, ...) = #25;
+void LOG_TRACE(string s, ...) = #25;
 string ftos(float f) = #26;
 string vtos(vector v) = #27;
 void error(string e) = #10;
 float test();
 
-void spawnfunc_worldspawn()
+spawnfunc(worldspawn)
 {
        float r;
-       dprint("TESTCASE: START\n");
+       LOG_TRACE("TESTCASE: START\n");
        r = test();
        if(r == 1)
-               error("TESTCASE: PASS"); 
+               error("TESTCASE: PASS");
        else if(r == 0)
-               error("TESTCASE: FAIL"); 
+               error("TESTCASE: FAIL");
        else
-               error("TESTCASE: INVALID"); 
+               error("TESTCASE: INVALID");
 }