Cross Reference: tests-common.h
xref: /xsrc/external/mit/xorg-server/dist/test/tests-common.h
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /xsrc/external/mit/xorg-server/dist/test/
11b5d61b8Smrg#ifndef TESTS_COMMON_H
21b5d61b8Smrg#define TESTS_COMMON_H
31b5d61b8Smrg
41b5d61b8Smrg#include "tests.h"
51b5d61b8Smrg
61b5d61b8Smrg#define ARRAY_SIZE(a)  (sizeof((a)) / sizeof((a)[0]))
71b5d61b8Smrg
81b5d61b8Smrg#define run_test(func) run_test_in_child(func, #func)
91b5d61b8Smrg
101b5d61b8Smrgvoid run_test_in_child(int (*func)(void), const char *funcname);
111b5d61b8Smrg
121b5d61b8Smrg#endif /* TESTS_COMMON_H */
13

Indexes created Sun Nov 30 18:09:34 GMT 2025