Hi Deepak, It should build and also run the unit tests if you are building DPDK vrouter. Please see the following in vrouter/dpdk/SConscript
vtest = Command(target = "all_tests.log", source = "../utils/vtest/vtest", action = "./vrouter/utils/vtest/all_tests_run" + " -b " + Dir(env['TOP']).abspath + " -x vrouter/utils/vtest/tests" + " -l $TARGET" ) Depends(vtest, dpdk_vrouter) DPDK vrouter should be built if the third_party/dpdk directory exists (please see the following in vrouter/SConscript) dpdk_exists = os.path.isdir('../third_party/dpdk') Raja From: Dev <dev-boun...@lists.opencontrail.org> on behalf of Deepak Tiwari <deepak.tiw...@aricent.com> Date: Wednesday, April 12, 2017 at 2:22 AM To: "dev@lists.opencontrail.org" <dev@lists.opencontrail.org> Subject: [opencontrail-dev] Vrouter UT compilation on master branch Hello, I was exploring the UT framework for vrouter. It seems currently the UT binary (i.e. vtest) doesn't get compiled. I had to do few changes here and there (mainly in SConscipt file and Makefiles) to get vtest binary compiled. Is it correct that on trunk branch vrouter UT is not compilable? Or did I miss anything? I am using following command to compile and start the UT ==> sudo scons vrouter "--opt=debug" Br, Deepak "DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus."
_______________________________________________ Dev mailing list Dev@lists.opencontrail.org http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org