1
0
mirror of https://passt.top/passt synced 2024-11-05 20:31:11 +00:00
passt/test/build
David Gibson 1c36c8d3f8 test: Use paths in __STATEDIR__ instead of 'temp' and 'tempdir' directives
Instead of using the 'temp' and 'tempdir' DSL directives to create
temporary files, use fixed paths relative to __STATEDIR__.  This has two
advantages:
  1) The files are automatically cleaned up if the tests fail (and even if
     that doesn't work they're easier to clean up manuall)
  2) When debugging tests it's easier to figure out which of the temporary
     files are relevant to whatever's going wrong

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2022-09-13 11:12:41 +02:00
..
all test: Use paths in __STATEDIR__ instead of 'temp' and 'tempdir' directives 2022-09-13 11:12:41 +02:00
clang_tidy test: Split cppcheck and clang-tidy tests into different files 2022-08-20 19:07:12 +02:00
cppcheck test: Split cppcheck and clang-tidy tests into different files 2022-08-20 19:07:12 +02:00