[asterisk-scf-commits] asterisk-scf/integration/testsuite.git branch "review" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Mon Jun 13 21:06:11 CDT 2011


branch "review" has been updated
       via  6963b6e5ef916a3fe2e5f77d721f0bd9287a8108 (commit)
       via  7ca196b7ac1709187376c56e57359a23d2f4c7a4 (commit)
      from  b81f776bacffd2a2b048103ee7b1ab39e03dbd1a (commit)

Summary of changes:
 3rdparty/{ => PROTOS}/c07-sip-r2.jar |  Bin 2247421 -> 2247421 bytes
 Makefile                             |   40 ++++++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+), 0 deletions(-)
 rename 3rdparty/{ => PROTOS}/c07-sip-r2.jar (100%)
 create mode 100644 Makefile


- Log -----------------------------------------------------------------
commit 6963b6e5ef916a3fe2e5f77d721f0bd9287a8108
Author: Darren Sessions <dsessions at digium.com>
Date:   Mon Jun 13 21:04:50 2011 -0500

    Makefile to install the test-suite on remotes.

diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..ce6c25a
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,40 @@
+USER=`whoami`
+INSTALLDIR=/usr/local/testsuite
+
+all:
+
+all: _all
+    @echo ""
+    @echo "     _            _                   _ _         "
+    @echo "    | |_ ___  ___| |_       ___ _   _(_) |_ ___   "
+    @echo "    | __/ _ \/ __| __|_____/ __| | | | | __/ _ \  "
+    @echo "    | ||  __/\__ \ ||______\__ \ |_| | | ||  __/  "
+    @echo "     \__\___||___/\__|     |___/\__,_|_|\__\___|  "
+    @echo ""
+    @echo "   +----- Test-Suite Installation Complete -----+ "  
+    @echo "   +                                            + "
+    @echo "   +  The test-suite is now installed. An init  + "
+    @echo "   +  script to fully automate the startup and  + "
+    @echo "   +   and shutdown of the test-suite remote    + "
+    @echo "   +  agent is highly recommended. Sample init  + "
+    @echo "   +   scripts are provided in the 'contrib'    + "
+    @echo "   +                directory.                  + "
+    @echo "   +                                            + "
+    @echo "   +--------------------------------------------+ "  
+    @echo ""
+
+_all: check install
+
+check:
+    if test $$USER != "root" ; then
+        echo "The test-suite must be installed, and ran, as root."
+        exit 1
+    fi
+
+install:
+    @test -d $(INSTALLDIR) || mkdir -p $(INSTALLDIR)
+
+    @for f in *; do \
+        test -f $$f && \
+        cp -p $$f $(INSTALLDIR); \
+    done

commit 7ca196b7ac1709187376c56e57359a23d2f4c7a4
Author: Darren Sessions <dsessions at digium.com>
Date:   Mon Jun 13 21:03:51 2011 -0500

    moved the protos test-suite within the 3rdparty directory to make things a bit more organized.

diff --git a/3rdparty/c07-sip-r2.jar b/3rdparty/PROTOS/c07-sip-r2.jar
similarity index 100%
rename from 3rdparty/c07-sip-r2.jar
rename to 3rdparty/PROTOS/c07-sip-r2.jar

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/testsuite.git



More information about the asterisk-scf-commits mailing list