[dts] [PATCH V1] test_plans/ add sample built test plan.rst

Tu, Lijuan lijuan.tu at intel.com
Sat Dec 29 09:28:57 CET 2018


The application in the directory of DPDK/examples are examples, not sample, could you correct the name.

More comments inline

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Zhu, WenhuiX
> Sent: Friday, December 28, 2018 1:32 PM
> To: Wu, ChangqingX <changqingx.wu at intel.com>; dts at dpdk.org
> Cc: Wu, ChangqingX <changqingx.wu at intel.com>; Zhu, WenhuiX
> <wenhuix.zhu at intel.com>
> Subject: Re: [dts] [PATCH V1] test_plans/add sample built test plan.rst
> 
> 
> Tested-by: Zhu, WenhuiX <wenhuix.zhu at intel.com>
> 
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of changqingxwu
> Sent: Thursday, December 27, 2018 4:07 PM
> To: dts at dpdk.org
> Cc: Wu, ChangqingX <changqingx.wu at intel.com>
> Subject: [dts] [PATCH V1] test_plans/add sample built test plan.rst
> 
> add sample built test plan
> 
> Signed-off-by: changqingxwu <changqingx.wu at intel.com>
> ---
>  test_plans/sample_built_test_plan.rst | 59
> +++++++++++++++++++++++++++
>  1 file changed, 59 insertions(+)
>  create mode 100644 test_plans/sample_built_test_plan.rst
> 
> diff --git a/test_plans/sample_built_test_plan.rst
> b/test_plans/sample_built_test_plan.rst
> new file mode 100644
> index 0000000..b69f4e0
> --- /dev/null
> +++ b/test_plans/sample_built_test_plan.rst
> @@ -0,0 +1,59 @@
> +.. 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.
> +
> +=============
> +Sample Built
> +=============
> +
> +This test case is for testing that all applications under DPDK /examples
> compile successfully
> +
> +Prerequisites
> +==============
> +
> +Packet requirements
[Lijuan] suppose you mean dependencies
> +--------------------
> +
> +-  l2fwd-cat
> +	-  intel-cmt-cat.x86_64
> +	-  intel-cmt-cat-devel.x86_64
> +
> +-  vm_power_manager
> +	-  libvirt-devel.x86_64 4.1.0-5.fc28
> +
[Lijuan] could you using general name, build testing should not be limited to Fedora, expected it could also support Ubuntu, Centos, and so on.
> +Test Case: Sample Built
> +========================
> +
> +compile the applications of dkdp/examples  successfully::
> +
> +    make -j 70 -C ./examples/bbdev_app
> +    make -j 70 -C ./examples/cmdline
> +    ...
> \ No newline at end of file
[Lijuan] Did you forget some blank lines?
> --
> 2.17.2



More information about the dts mailing list