From 7ebc711a746bd72e9099944649802e6c807f7241 Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Tue, 27 Nov 2018 12:21:37 -0800 Subject: [PATCH] Move some QA related scripts to qa/common --- docs/test.rst | 4 ++-- {tools => qa/common}/check_copyright.py | 0 .../common/gen_qa_model_repository | 10 +++++----- .../common/gen_qa_models.py | 0 4 files changed, 7 insertions(+), 7 deletions(-) rename {tools => qa/common}/check_copyright.py (100%) rename tools/gen_unit_test_models => qa/common/gen_qa_model_repository (92%) rename tools/gen_qa_model_repository.py => qa/common/gen_qa_models.py (100%) diff --git a/docs/test.rst b/docs/test.rst index 26a5cafe89..a6bbfcc509 100644 --- a/docs/test.rst +++ b/docs/test.rst @@ -43,8 +43,8 @@ Generate QA Model Repository The QA model repository contains some simple models that are used to verify the correctness of TRTIS. To generate the QA model repository:: - $ cd tools - $ ./gen_unit_test_models + $ cd qa/common + $ ./gen_qa_model_repository This will generate the model repository in /tmp/qa_model_repository. The TensorRT models will be created for the GPU on the system that diff --git a/tools/check_copyright.py b/qa/common/check_copyright.py similarity index 100% rename from tools/check_copyright.py rename to qa/common/check_copyright.py diff --git a/tools/gen_unit_test_models b/qa/common/gen_qa_model_repository similarity index 92% rename from tools/gen_unit_test_models rename to qa/common/gen_qa_model_repository index 16da4845ac..55e89a9d0d 100755 --- a/tools/gen_unit_test_models +++ b/qa/common/gen_qa_model_repository @@ -57,8 +57,8 @@ mkdir -p $HOST_DESTDIR rm -fr $HOST_SRCDIR mkdir -p $HOST_SRCDIR -cp ./gen_qa_model_repository.py $HOST_SRCDIR/. -cp ../qa/common/test_util.py $HOST_SRCDIR/. +cp ./gen_qa_models.py $HOST_SRCDIR/. +cp ./test_util.py $HOST_SRCDIR/. C2SCRIPT=c2_gen.cmds TFSCRIPT=tf_gen.cmds @@ -73,7 +73,7 @@ cat >$HOST_SRCDIR/$C2SCRIPT <$HOST_SRCDIR/$TFSCRIPT <$HOST_SRCDIR/$TRTSCRIPT <