From patchwork Wed Dec 21 18:20:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Iooss X-Patchwork-Id: 9483605 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 593FF601D2 for ; Wed, 21 Dec 2016 18:23:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5140528458 for ; Wed, 21 Dec 2016 18:23:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4326D2847B; Wed, 21 Dec 2016 18:23:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from emsm-gh1-uea11.nsa.gov (emsm-gh1-uea11.nsa.gov [8.44.101.9]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B0F6F28458 for ; Wed, 21 Dec 2016 18:23:26 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.33,384,1477958400"; d="scan'208";a="1768115" IronPort-PHdr: =?us-ascii?q?9a23=3Ab39cSBWm06ySLNvlldt2h9hhvkXV8LGtZVwlr6E/?= =?us-ascii?q?grcLSJyIuqrYYheAvadThVPEFb/W9+hDw7KP9fuxAipQu93Q7zgrS99lb1c9k8?= =?us-ascii?q?IYnggtUoauKHbQC7rUVRE8B9lIT1R//nu2YgB/Ecf6YEDO8DXptWZBUhrwOhBo?= =?us-ascii?q?KevrB4Xck9q41/yo+53Ufg5EmCexbal8IRiyowjdrMobjZVtJqs1yBbCv2dFdf?= =?us-ascii?q?lRyW50P1yYggzy5t23/J5t8iRQv+wu+stdWqjkfKo2UKJVAi0+P286+MPkux/D?= =?us-ascii?q?TRCS5nQHSWUZjgBIAwne4x7kWJr6rzb3ufB82CmeOs32UKw0VDG/5KplVBPklC?= =?us-ascii?q?EKPCM3/2HNjsx7kbxVrhSvqRdix4LYeZyZOOZ7cq7bYNgUR3dOXtxJWiJBHI2y?= =?us-ascii?q?coUBAekGM+laoYn9v1kDoQawCAajGOzhxSFHhmTt0K0m0eksCx3K0RY8E94Qtn?= =?us-ascii?q?nfsdX7NL0VUeCw1KTG1TTDYO9R2Tf58ofIaQ0qr/KLXbJ3asrR0lQkGgTDjlWR?= =?us-ascii?q?tYPlODeV2f4Ws2SB7upgUuWvi3U8qwxqpziiycgthpPOhoIPxVDJ7CN0y5s2K9?= =?us-ascii?q?2gUEN3fNGpHZRKuyyaKod6WN0uTm52tCog17EKoZy2cSoQxJg6yRPSZeaLf5aU?= =?us-ascii?q?7h/iTuqcLyl0iXR4c7ylnRmy61KvyujkW8mx11ZFszRKn8HXtnAIyxzT8s+HSu?= =?us-ascii?q?Zh/ku52TaAyQTT6uZcLEAoj6XbMZ8hwqMrlpYJrUTCHjP5mEXxjKOMcEUr5vOo?= =?us-ascii?q?5Pj9brXjp5+cM5d4igD4MqswhsyyGfk0PwcBUmSB+emwyafv8VP2TblUlPE6j7?= =?us-ascii?q?HVsJXAKsQaoq65DRVV0oEm6xunFDepztAYnXgBLFJYdxOLlpPmO1bTIPD+Efiw?= =?us-ascii?q?nU+snSx3x/HGIrLhApLNImLFkLf6Z7lx8UFcyA0tzdxH/ZJbFqkBIO7vWk/2rN?= =?us-ascii?q?HZDh44Mwuyw+v8DdV90poSWWOJAqODNqPdq0WI5uEuI+mSeoAZojD9JOY55/T2?= =?us-ascii?q?l382hUcdfbW13ZsQcH23AOxmLF+DYXrtmdcMCn8KsRAkTOzrk12CSTpTaGyuUK?= =?us-ascii?q?0i/D07D5imDYjbTIC3nLOBxDu7HoFRZm1eBFCMC23nd4OYVPcNcyKfOcphkiQF?= =?us-ascii?q?VbS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vSq6wtr6bb8FR7pMlqjtXX/q4YVCeVLH9uQEW0yX9EG?= =?us-ascii?q?tC3Do7bS2luo3lnxxmj2KQNHVzo2TfecFr3hrf58LTRfhK3joAWiZ4lSPbBl+m?= =?us-ascii?q?P9mm5d+UjYvMsviiV2K9UZ1eaTfrzYWduyag+21qBwCwn/Cplt3hDwc6zTfx18?= =?us-ascii?q?N2WiXQsBb8fo7r2ryiMe19Y0loAETx5NZ7GoFikoo8nZ8Q1mIchpmP+noHi2jz?= =?us-ascii?q?O81B2a3idHoNWSILw9nN7Qj/xUJsM2mEx438VnSS2MdhYce1Yn8O0CIn889KEL?= =?us-ascii?q?uU7KBDnSZtulq3tx/RYfxjkTcF0/Qu7mIajP8TuAc20yWdGa4dHVNDPSD2jBSI?= =?us-ascii?q?6M2+rL9La2mxf7iw01B+nd+/A72YpAFTRmr5cI84HSBs9sV/LE7M0Hrr54HqYt?= =?us-ascii?q?bQa84TthqRkxrbgehaNo8+lv0QhSV9IWL9p3oly+wlghNywZG2po+HK39i/Kih?= =?us-ascii?q?GB5XKiX1Z98P+jHqlatekcaW0Jy1HpRhAjULQJzoQOmuED0MqfTnLBqBHyckqn?= =?us-ascii?q?iFA7bfGxGQ6Ft+pXLVD5+rL22XJGUezdh6QRmSPkhfgAQKUzUmgp42DBqlydfn?= =?us-ascii?q?cEhn+jAR/UL3pQFUyu12LRX/VHnQpBuwYDcuVJefNAZW7h1F50rNK8yS9OxyEz?= =?us-ascii?q?td/pK7qAyNLWyaah9SAm4VX0yIHVfjPqOh5dPY6eiXGvK+L+fSYbWJseFeUe2I?= =?us-ascii?q?yoi30ot+5DuMOMSPPmN5D/0n1EpDXHZ5FN7fmzoTSiwYjSbNY9ScpBem9S19tt?= =?us-ascii?q?q//+jzWALz+YuPDKNfMc1x9B+tn6iDMe+QhDp+KTtD15MD22HHx6YF0F4VkSFu?= =?us-ascii?q?eCGnEa4cui7VUKLQhqhXAgYAZCxoM8dI66M83hJROc7AkN/1zaB3geIvB1de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M1EwcJ3D4UDIsxltHf4GaNEPoOc?= =?us-ascii?q?o3wqurP10X/W5yozvE28xDqtB6+yV/hZ8HEGGgU1O2SerVEiDuU2/mjO8lDNs1?= =?us-ascii?q?V0/+ZBCbiMlkhxoShyEY5QCTpT0nClNVtzRmFcs+pGMKTVb9BcQ/4qaBC1IRw+?= =?us-ascii?q?CPgm01aK/UxvnHf5Yi1ythdB9CzHWQk7SzUViK/3mTICssGnJSMaS5VQYDUudS?= =?us-ascii?q?fKMQSbmTxMsRZebEFrVZYZAspF+74F3ItU+NbCRli2KS0fWhxtKB442+JFlUFf?= =?us-ascii?q?qEWYZTzdDQ2wePbTtR13eNycrNK1IPT85whLkIXnv/4k968bXX2phRWtQczCr4?= =?us-ascii?q?/7rtCKtlGBdL3iPO24fHDMVyXDgg6ohbc8EZbK+zbcMBBBJ5l903okboDrCXTX?= =?us-ascii?q?MhReO6IbO01bWLh4adVBvO9XfNJrd7gS+aBzHBKHWg3gF5G1oPlAMFnTWSzULz?= =?us-ascii?q?+d/eynvYLT8bvdRPD7acyC23nLX6B6Mop05DTgB7jq1ope9Vbs1fd26kN2U17G?= =?us-ascii?q?PD6drN75PAME+NGidlf+vp0uBT7WGol/n2ftxk5aa8oaWCmq8JMGyJxH9nr/Ve?= =?us-ascii?q?V43VXtv+FI8blr95U36ahzycioPafSNehasUh/DxiMHQVq6o8iD3VjR21Kee8R?= =?us-ascii?q?L+rRfb4Fgs/wreD3C7YX5weR++BDbtvHPU7BkNGlCj6AURxEgBsBqTkCIwuAzf?= =?us-ascii?q?6KhbF7Rtu+qOjk3kIt/0K+IQQYzLBs4oeE/rSHpPPNYxvW17gEVbDgRtnvobQ0?= =?us-ascii?q?p0OS+fokmaYTdWxzeQKqC/USVsgHyWv6yqAq1y0sGdvZH7384P5DS245njX4lp?= =?us-ascii?q?B/BVoWAPQUHaGP/YtEgGc1gOnZNsAScqBem2aACR+kHaUEyX6w8SeXJ3Nlgh7W?= =?us-ascii?q?2RHqXWyz9EP2rTN/QSbUzdfsiExVVretBUdVQiWmJ1R1sC+VMwrur9r3vr457E?= =?us-ascii?q?coPWz4rNiNjneuOKtLH83jI9yROS80pFYMgZ0wQNyv3JoXGdu7INcf6nFxdODe?= =?us-ascii?q?63+xky9cv6hHm5fe4tuL9fnNGnmglaKaoa2XxD9E0ng4oU0/6te4O/HI5t2FX/?= =?us-ascii?q?Oo12ILQCdkoQfBXhm1qrvAr1APIkGL1UjGmYMQMtFex3k42Vns5PI/T9Ir6AVe?= =?us-ascii?q?CoHAauseqj/pPDv7302fY843VymZyDZXBU76EVhmF6g6xGLwvdjGmW3W+1I2Wo?= =?us-ascii?q?l6b1bnigBvD4UkNUIt70Aawi4YEQgIaR2WF7+oClr4IosDT0gMcwyH3KK9eqc1?= =?us-ascii?q?w0J83q+v6PXUbexmCKoHLuxdgRKWnFhHBpIWtrUTQLd4e1BD8a7XoRbtC4z8Uv?= =?us-ascii?q?jpi3UwMua1QthA/sAFtnst+AK/Rxum6Zdf8bkbjJSIdq9LYZfSusBz81lo6SQJ?= =?us-ascii?q?diNTnBh1lwm5XvwEpOD//tjbt4Kl6uSvVKYoXOgX8gY7BmRggJvqgVAjp97X2/?= =?us-ascii?q?1aSoLLlYT16BpNLGKSuIbGzxl8LvIDK4Oqfbl67XoIOzMTJ2kQMtqKdfYz/zVh?= =?us-ascii?q?MDLJ51xNGskMf88XPNLRmQBIjU3kQKpc9svAGl6WEYhzdcEo73bvyD8v7Js8Vv?= =?us-ascii?q?3t5yOxJZ/C8V5CJe5DjD9rlNLYvucZ2/3SCDIY4XOBcRh63juCy4WRC/b35eiM?= =?us-ascii?q?0MvbV08aES42XYZdIyCC+Q++SuquiprpVgKU6snugJMxb0+QXma+nLgZvaZMH+?= =?us-ascii?q?9AjT/73jtEGoD2mf2Vqdys53VTtlFdF4Zz9xLFEr1FPppnIRT4itWrRk9kCyvj?= =?us-ascii?q?YsHbaB4ut/CQxugS+OhxKkr+ZYAaIhIY0b368mBaThFzSLLsuFaWQ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l8xrNH5WYk/vx7XVqCQy3BfWjdy4qn?= =?us-ascii?q?CsVPxSF0rXDiycXUovhnNKFGqIFhHFcKHSV2K8jf/TBGV2H03BC/vxOlEzuDLj?= =?us-ascii?q?IZ5ywLKjAbeepvye90rgrIJZ797haLuqYgrla7IRqaAbqznppQA4fm0hvrRzNM?= =?us-ascii?q?dGCNFptxrv9W3PcVZrg8Ldy4AlvGKgHlSAOfvDsX3B22svKsF8UckTZWqbklNN?= =?us-ascii?q?y8B9pCNtLexjwthi8QyQ=3D=3D?= X-IPAS-Result: =?us-ascii?q?A2HVBAA0yFpY/wHyM5BdHAEBBAEBCgEBFwEBBAEBCgEBgwo?= =?us-ascii?q?BAQEBAR+BZI5DrHIoh2NTAQEBAQEBAQECAQJfKIIzGoIcBgECNxQgDgMJAQEXK?= =?us-ascii?q?QgIAwEtFREOCwUYBIhLBAGqYyoCg2iHIoY2hiiCQxEBaIUVAQSad4F6h2qHSIp?= =?us-ascii?q?GhhiSM1doH1GFX3GGKoIuAQEB?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea11.nsa.gov with ESMTP; 21 Dec 2016 18:23:24 +0000 Received: from prometheus.infosec.tycho.ncsc.mil (prometheus [192.168.25.40]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id uBLINNfe021283; Wed, 21 Dec 2016 13:23:24 -0500 Received: from tarius.tycho.ncsc.mil (tarius.infosec.tycho.ncsc.mil [144.51.242.1]) by prometheus.infosec.tycho.ncsc.mil (8.15.2/8.15.2) with ESMTP id uBLIMEaZ034174 for ; Wed, 21 Dec 2016 13:22:14 -0500 Received: from goalie.tycho.ncsc.mil (goalie [144.51.242.250]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id uBLIMCXi021001 for ; Wed, 21 Dec 2016 13:22:14 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1AyAAAeyFpYhyIeaIFdHAEBBAEBCgEBgzUBAQEBAYIDjkOoYoQzh2hTAQIBAQEBAQITAQEBCgsJCR2FGQaBCVFXGYhsBAGqY4QUhyKGNoYogz2FFQWad4F6h2qHSJBekjOBXYNkDIJAcYhYAQEB X-IPAS-Result: A1AyAAAeyFpYhyIeaIFdHAEBBAEBCgEBgzUBAQEBAYIDjkOoYoQzh2hTAQIBAQEBAQITAQEBCgsJCR2FGQaBCVFXGYhsBAGqY4QUhyKGNoYogz2FFQWad4F6h2qHSJBekjOBXYNkDIJAcYhYAQEB X-IronPort-AV: E=Sophos;i="5.33,384,1477972800"; d="scan'208";a="5887163" Received: from emsm-gh1-uea11.corp.nsa.gov (HELO emsm-gh1-uea11.nsa.gov) ([10.208.41.37]) by goalie.tycho.ncsc.mil with ESMTP; 21 Dec 2016 13:22:10 -0500 IronPort-PHdr: =?us-ascii?q?9a23=3AmjCL5RH62DAPjvyf3AcR3J1GYnF86YWxBRYc798d?= =?us-ascii?q?s5kLTJ78rsywAkXT6L1XgUPTWs2DsrQf2rGQ4/qrCDNIyK3CmUhKSIZLWR4BhJ?= =?us-ascii?q?detC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+?= =?us-ascii?q?KPjrFY7OlcS30P2594HObwlSijewZb1/IA+1oAnPucUbhYlvIbstxxXUpXdFZ/?= =?us-ascii?q?5Yzn5yK1KJmBb86Maw/Jp9/ClVpvks6c1OX7jkcqohVbBXAygoPG4z5M3wqBnM?= =?us-ascii?q?VhCP6WcGUmUXiRVHHQ7I5wznU5jrsyv6su192DSGPcDzULs5Vyiu47ttRRT1ji?= =?us-ascii?q?oMKjw3/3zNisFojKxVvg+vqRJ8zYDTYo6VOuFzcr/Bcd4AWWZMRNpdWzBHD4ih?= =?us-ascii?q?b4UPFe0BPeNAooflplsBsRy+BQ22C+P01zRGhXj23aoh0+Q6DArL2wogH9MSv3?= =?us-ascii?q?TTqNX6LrwSXfq0zKnPyjXDdOhW1Cz46IXHfREtu/aMXah/ccfIz0QkCgDLjk2I?= =?us-ascii?q?pID4IT+Y0v4Bv3WH4+dvT+6ihXIrpxt/rzWg3sshiIvEipgIxl3K+yh12pg5Kc?= =?us-ascii?q?G5RUJhb9OoDp1dvDyAOYRsWMMtWWRotT46yrIYvZ67ezAHyJEoxhLCcfCHa4+I?= =?us-ascii?q?4hbjVeaNPzh3mHJleLS+hxar7Eiv1PfwVs6u0FZFtiZFk9/MuW4R1xHL98SLVP?= =?us-ascii?q?9w8l281TqT2A3f8O9JLVwumafVJJMt2rswmYASsUTHEC/2gkL2jKqOe0s55uam?= =?us-ascii?q?9vjrb639ppKSNoF0lBnzPaYhlMGnBOQ1PQcPU3Kc+eSm273u5Uv5QLRWgf0xlq?= =?us-ascii?q?nWqovaKd4apq6+BA9VyZ0j5g2kADehzdQYm2UII0xeeB6diojkNF7PLOr/Dfel?= =?us-ascii?q?jFSgiC1ryOzePr39HpXNKWDOkKz/crZ56k5czhczzN9E6pJICrAOPPLzWkjruN?= =?us-ascii?q?zeFR82KRa4w+ngCNVjhcsiXjeUD6uYNr7CmUOZ7eIoZe+XbckavyiuBeIi4qvI?= =?us-ascii?q?jHQ+nVYGNYiu2oAMICS+H/9hJ0yCJ3vrhcwaOWJWrkw5VuO82w7KaiJae3vnB/?= =?us-ascii?q?F03To8Eo/zVYo=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0GNAADyxlpYhyIeaIFdHAEBBAEBCgEBF?= =?us-ascii?q?wEBBAEBCgEBgwoBAQEBAYIDjkOoYoQzh2hTAQEBAQEBAQECAQIQAQEBCgsJCR0?= =?us-ascii?q?wgjMYgh4GgQlRVxmIbAQBqmmEFIcihjaGKIM9hRUFmneBeodqh0iQXpIzgV6DZ?= =?us-ascii?q?AyCQHGIWAEBAQ?= X-IPAS-Result: =?us-ascii?q?A0GNAADyxlpYhyIeaIFdHAEBBAEBCgEBFwEBBAEBCgEBgwo?= =?us-ascii?q?BAQEBAYIDjkOoYoQzh2hTAQEBAQEBAQECAQIQAQEBCgsJCR0wgjMYgh4GgQlRV?= =?us-ascii?q?xmIbAQBqmmEFIcihjaGKIM9hRUFmneBeodqh0iQXpIzgV6DZAyCQHGIWAEBAQ?= X-IronPort-AV: E=Sophos;i="5.33,384,1477958400"; d="scan'208";a="1768031" Received: from mx1.polytechnique.org ([129.104.30.34]) by emsm-gh1-uea11.nsa.gov with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Dec 2016 18:22:10 +0000 Received: from localhost.localdomain (32.206.133.77.rev.sfr.net [77.133.206.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTPSA id 19ACA5647EF for ; Wed, 21 Dec 2016 19:22:09 +0100 (CET) From: Nicolas Iooss To: selinux@tycho.nsa.gov Subject: [PATCH v2 2/7] libsemanage/tests: make tests standalone Date: Wed, 21 Dec 2016 19:20:59 +0100 Message-Id: <20161221182104.16967-3-nicolas.iooss@m4x.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20161221182104.16967-1-nicolas.iooss@m4x.org> References: <20161221182104.16967-1-nicolas.iooss@m4x.org> X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Wed Dec 21 19:22:09 2016 +0100 (CET)) X-Org-Mail: nicolas.iooss.2010@polytechnique.org X-BeenThere: selinux@tycho.nsa.gov X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" List-Post: List-Help: MIME-Version: 1.0 Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" X-Virus-Scanned: ClamAV using ClamSMTP In order to run libsemanage tests, libsepol and libselinux source directories need to exist next to libsemanage source directory. This prevents tests to be run when using the released package. As libsemanage tests only use public API of libselinux and libsepol, link with the shared objects which are likely to be installed on the system (or at least present in $DESTDIR). While at it, drop TESTSRC variable as it was used to find libsemanage internal headers but not the tested library (libsemanage.a). Moreover add ../src/libsemanage.a to the target dependencies of the test executable in order to rebuild it after libsemanage.a has been updated. Signed-off-by: Nicolas Iooss --- libsemanage/tests/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libsemanage/tests/Makefile b/libsemanage/tests/Makefile index 4b81fed70660..bd6a5fd74906 100644 --- a/libsemanage/tests/Makefile +++ b/libsemanage/tests/Makefile @@ -1,23 +1,23 @@ +PREFIX ?= $(DESTDIR)/usr +LIBDIR ?= $(PREFIX)/lib + # Add your test source files here: SOURCES = $(wildcard *.c) -# Point this variable to the libsemanage source directory you want to test: -TESTSRC=../src - # Add the required external object files here: -LIBS = ../src/libsemanage.a ../../libselinux/src/libselinux.a ../../libsepol/src/libsepol.a +LIBS = ../src/libsemanage.a -L$(LIBDIR) -lselinux -lsepol ########################################################################### EXECUTABLE = libsemanage-tests CFLAGS += -g -O0 -Wall -W -Wundef -Wmissing-noreturn -Wmissing-format-attribute -Wno-unused-parameter -INCLUDE = -I$(TESTSRC) -I$(TESTSRC)/../include +INCLUDE = -I../src -I../include LDFLAGS += -lcunit -lustr -lbz2 -laudit OBJECTS = $(SOURCES:.c=.o) all: $(EXECUTABLE) -$(EXECUTABLE): $(OBJECTS) +$(EXECUTABLE): $(OBJECTS) ../src/libsemanage.a $(CC) $(OBJECTS) $(LIBS) $(LDFLAGS) -o $@ %.o: %.c