build: require boost >= 1.71.0
Refs: #5276
Change-Id: I6eaae86beb89e00adf3891deb87816a1f176fdd6
diff --git a/tests/wscript b/tests/wscript
index fe86136..2e680c8 100644
--- a/tests/wscript
+++ b/tests/wscript
@@ -1,6 +1,6 @@
# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
"""
-Copyright (c) 2014-2022, The University of Memphis
+Copyright (c) 2014-2023, The University of Memphis
Regents of the University of California
This file is part of NLSR (Named-data Link State Routing).
@@ -21,12 +21,10 @@
top = '..'
def build(bld):
- bld.objects(target='unit-test-objects',
- source=bld.path.ant_glob('**/*.cpp', excl=['main.cpp']),
- use='nlsr-objects')
-
- bld.program(target='../unit-tests-nlsr',
- name='unit-tests-nlsr',
- source='main.cpp',
- use='unit-test-objects',
- install_path=None)
+ bld.program(
+ target=f'{top}/unit-tests-nlsr',
+ name='unit-tests-nlsr',
+ source=bld.path.ant_glob('**/*.cpp'),
+ use='BOOST_TESTS nlsr-objects',
+ includes=top,
+ install_path=None)