Lines Matching refs:fixture
30 * an alternatives fixture whose empty entry pointed at its own end label rather
32 * a sympos fixture where symbol-table order and address order agreed, so
34 * a string fixture using a named ``char[]``, which never reached the
52 2. **Decide where it lives.** ``generic/`` unless the fixture needs
56 3. **Write the fixture** in the same directory's ``fixtures/``. Reuse an
58 than copying a fixture to change one line.
70 7. **Commit** the test and its fixture together, alone. One test per commit.
73 Writing the fixture
79 Every fixture needs a ``.modinfo`` name, because klp diff reads the object's
89 The patched build is selected with ``-DPATCHED``. For a fixture with several
104 * **The compiler optimises your fixture away.** A static never written is
124 and say so in the fixture. generic/fixtures/static_call.c does: objtool
126 boundaries -- those come from the kernel's macros -- so a fixture which has
142 assert_input_section __jump_table # the fixture must produce it -> fail
178 ``FIXTURE_CFLAGS`` is what a fixture is built with. Since objtool reads no
204 * **anything load-bearing about the fixture** that is not obvious, especially
207 That last point is the one people skip. If the fixture has to be built without
235 Some behaviour cannot be reached from a compiled fixture. Say so, with what
247 Also stop when the behaviour depends on something outside the fixture's
263 * the fixture is in the same directory as the test