From ea67cae0cc1c4cacc474100d03c4be7c2bc45867 Mon Sep 17 00:00:00 2001
From: "ben.franksen" <ben.franksen@online.de>
Date: Mon, 26 Mar 2012 19:01:41 +0000
Subject: [PATCH] test: renamed some macros

---
 test/validate/monitorEvflag.st | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/test/validate/monitorEvflag.st b/test/validate/monitorEvflag.st
index 3ec57bfb..4a98179e 100644
--- a/test/validate/monitorEvflag.st
+++ b/test/validate/monitorEvflag.st
@@ -5,9 +5,9 @@ option +s;
 %%#include "../testSupport.h"
 %%#include <stdio.h>
 
-#define NTESTS 100
-#define NCYCLESPERTEST 2000
-#define NCYCLES (NTESTS*NCYCLESPERTEST)
+#define NDIAGS 100
+#define NCYCLESPERDIAG 1000
+#define NCYCLES (NDIAGS*NCYCLESPERDIAG)
 
 int requested;
 assign requested to "requested";
@@ -47,8 +47,8 @@ ss monitorEvflagTest {
             if (actual != requested) {
                 testFail("requested(%d)!=actual(%d)", requested, actual);
                 error = TRUE;
-            } else if (cycleCount % NCYCLESPERTEST == 0) {
-                testDiag("requested(%d)==actual(%d)", requested, actual);
+            } else if (cycleCount % NCYCLESPERDIAG == 0) {
+                testDiag("passed %d cycles", cycleCount);
             }
             cycleCount++;
         } state makeRequest
-- 
GitLab