mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 09:26:10 +00:00
These should go to stdout instead. The next patch will clean this up with cocci, so no change from fprintf(stdout, to printf( here. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
19 lines
304 B
Plaintext
19 lines
304 B
Plaintext
// Replace open-coded augmented igt_assert/skip/require with macro versions
|
|
@@
|
|
expression Ec;
|
|
expression list[n] Ep;
|
|
@@
|
|
- if (Ec) {
|
|
- fprintf( stderr, Ep );
|
|
- igt_fail(...);
|
|
- }
|
|
+ igt_assert_f(Ec, Ep);
|
|
@@
|
|
expression Ec;
|
|
expression list[n] Ep;
|
|
@@
|
|
- if (Ec) {
|
|
- igt_skip(Ep);
|
|
- }
|
|
+ igt_skip_on_f(Ec, Ep);
|