Skip to content

Commit 6c42d13

Browse files
add priority
1 parent 030695a commit 6c42d13

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

code/logic/fossil/pizza/test.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ typedef struct {
8080
void (*run)(void); // Test execution function
8181

8282
uint64_t elapsed_ns; // Timing in nanoseconds
83+
int64_t priority; // Priority level (lower = higher priority)
8384
fossil_pizza_case_result_t result; // Outcome
8485

8586
// TI Extensions:
@@ -272,6 +273,7 @@ FOSSIL_PIZZA_API void _on_skip(const char *description);
272273
nullptr, \
273274
test_name##_run, \
274275
0, \
276+
0, \
275277
FOSSIL_PIZZA_CASE_EMPTY, \
276278
{ \
277279
nullptr, \
@@ -297,6 +299,7 @@ FOSSIL_PIZZA_API void _on_skip(const char *description);
297299
.teardown = NULL, \
298300
.run = test_name##_run, \
299301
.elapsed_ns = 0, \
302+
.priority = 0, \
300303
.result = FOSSIL_PIZZA_CASE_EMPTY, \
301304
.meta = { \
302305
.hash = NULL, \

0 commit comments

Comments
 (0)