From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 8588D4CA0 for ; Mon, 28 Jan 2019 07:01:10 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Jan 2019 22:01:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,533,1539673200"; d="scan'208";a="133657077" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.240.176.135]) by orsmga001.jf.intel.com with ESMTP; 27 Jan 2019 22:01:07 -0800 From: changqingxwu To: dts@dpdk.org Cc: changqingxwu Date: Mon, 28 Jan 2019 14:02:06 +0800 Message-Id: <1548655326-39434-1-git-send-email-changqingx.wu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] test_plans:add test plans about example build X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jan 2019 06:01:11 -0000 Signed-off-by: changqingxwu --- test_plans/example_build_test_plan.rst | 71 ++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 test_plans/example_build_test_plan.rst diff --git a/test_plans/example_build_test_plan.rst b/test_plans/example_build_test_plan.rst new file mode 100644 index 0000000..22d793c --- /dev/null +++ b/test_plans/example_build_test_plan.rst @@ -0,0 +1,71 @@ +.. Copyright (c) <2011>, Intel Corporation + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + - Neither the name of Intel Corporation nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + OF THE POSSIBILITY OF SUCH DAMAGE. + +============= +Example Build +============= + +This test case is for testing that all applications under DPDK examples compile successfully. +Such as these applications:: + + - bbdev_app + - bond + - cmdline + - distributor + ... + +Prerequisites +============= + +Dependency package requirements: + + - libvert: https://libvirt.org/ + - intel-cmt-cat: https://github.com/01org/intel-cmt-cat + +Test case: example build +======================== + +compile the applications of examples successfully:: + + make -j 70 -C examples + +If the compilation is successful, it will be the same as the shown in the terminal. :: + + ... + LD load_balancer + INSTALL-APP l3fwd-thread + INSTALL-MAP l3fwd-thread.map + INSTALL-APP ipsec-secgw + INSTALL-MAP ipsec-secgw.map + INSTALL-MAP load_balancer.map + INSTALL-APP load_balancer + make: Leaving directory '/root/dpdk/examples' -- 2.17.2