build: rename HAVE_TESTS to WITH_TESTS
And rename a few waf targets for clarity and consistency
Change-Id: I7efad48a4edcbc311dba7981791249a4e0cc5678
diff --git a/tests/benchmarks/wscript b/tests/benchmarks/wscript
index 3c1e532..87a3f53 100644
--- a/tests/benchmarks/wscript
+++ b/tests/benchmarks/wscript
@@ -3,10 +3,11 @@
top = '../..'
def build(bld):
- for test in bld.path.ant_glob('*.cpp'):
- name = test.change_ext('').path_from(bld.path.get_bld())
- bld.program(name=f'test-{name}',
- target=name,
- source=[test],
- use='BOOST_TESTS ndn-cxx',
- install_path=None)
+ for file in bld.path.ant_glob('*.cpp'):
+ name = file.change_ext('').path_from(bld.path.get_bld())
+ bld.program(
+ name=f'bench-{name}',
+ target=name,
+ source=[file],
+ use='BOOST_TESTS ndn-cxx',
+ install_path=None)