Skip to content

Commit

Permalink
DAOS-15846 common: Use tenv for rsvc_tests (#14369)
Browse files Browse the repository at this point in the history
rsvc_tests should use tenv instead of unit_env.

Signed-off-by: Li Wei <[email protected]>
  • Loading branch information
liw authored May 17, 2024
1 parent a2d0e91 commit a88f116
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/common/tests/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ def scons():
LIBS=['daos_common_pmem', 'gurt', 'cmocka'])
tenv.d_test_program('checksum_timing', 'checksum_timing.c', LIBS=['daos_common', 'gurt'])
tenv.d_test_program('compress_timing', 'compress_timing.c', LIBS=['daos_common', 'gurt'])
tenv.d_test_program('rsvc_tests', ['rsvc_tests.c', '../rsvc.c'],
LIBS=['daos_common', 'gurt', 'cmocka'])

unit_env = tenv.Clone()
unit_env.AppendUnique(OBJPREFIX='utest_')
Expand Down Expand Up @@ -78,9 +80,6 @@ def scons():
['drpc_tests.c', '../drpc.c', '../drpc.pb-c.c', mock_test_utils],
LIBS=['protobuf-c', 'daos_common', 'gurt', 'cmocka'])

unit_env.d_test_program('rsvc_tests', ['rsvc_tests.c', '../rsvc.c'],
LIBS=['daos_common', 'gurt', 'cmocka'])


if __name__ == "SCons.Script":
scons()

0 comments on commit a88f116

Please sign in to comment.