build: Valgrind script now depends on unit test executable
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Wed, 23 Nov 2016 22:27:46 +0000 (23:27 +0100)
committerZiran Sun <ziran.sun@samsung.com>
Mon, 28 Nov 2016 11:43:20 +0000 (11:43 +0000)
commit1667f9bc10e8d049865f76b70b47b0da2169759b
tree86fc8eaafbe07d8ad31a9fe21d98080cca1c66a7
parent9f187b11c1a48567055341ea16e7c9ef3112e86c
build: Valgrind script now depends on unit test executable

This prevents Sporadic Valgrind Failures, caused by race conditions
Common error message is like:
  out/linux/x86_64/debug/resource/unittests/unittests: Permission denied

Bug: https://jira.iotivity.org/browse/IOT-1526
Change-Id: I49bfb21ee7cd934b965e132cb150d59c047ef383
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/14705
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Kevin Kane <kkane@microsoft.com>
Reviewed-by: Nivedita Singhvi <niveditasinghvi@gmail.com>
Reviewed-by: Ziran Sun <ziran.sun@samsung.com>
tools/scons/RunTest.py