Skip to content
Snippets Groups Projects
Commit ea67cae0 authored by ben.franksen's avatar ben.franksen
Browse files

test: renamed some macros

parent 040dcc56
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment