[pytango] 230/483: Removed mock projects

Sandor Bodo-Merle sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:14:44 UTC 2017


This is an automated email from the git hooks/post-receive script.

sbodomerle-guest pushed a commit to annotated tag bliss_8.10
in repository pytango.

commit e8e4e60dc7b967318de90e6d4127b58f7f056c8f
Author: trogucki <trogucki at 4e9c00fd-8f2e-0410-aa12-93ce3db5e235>
Date:   Thu Jan 31 20:15:14 2013 +0000

    Removed mock projects
    
    git-svn-id: http://svn.code.sf.net/p/tango-cs/code/bindings/PyTango/trunk@22012 4e9c00fd-8f2e-0410-aa12-93ce3db5e235
---
 tests/child/ci/ALBA/build.sh  | 12 ------------
 tests/child/ci/build.sh       | 20 --------------------
 tests/child/test/child.py     | 13 -------------
 tests/parent/ci/ALBA/build.sh | 12 ------------
 tests/parent/ci/build.sh      | 20 --------------------
 tests/parent/test/parent.py   | 27 ---------------------------
 6 files changed, 104 deletions(-)

diff --git a/tests/child/ci/ALBA/build.sh b/tests/child/ci/ALBA/build.sh
deleted file mode 100755
index 0dfb648..0000000
--- a/tests/child/ci/ALBA/build.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/bash
-
-cd ../..
-
-python test/child.py
-
-if [ $? -eq 0 ]
-then
-	exit 0
-else
-	exit 1
-fi
\ No newline at end of file
diff --git a/tests/child/ci/build.sh b/tests/child/ci/build.sh
deleted file mode 100755
index a9ea5df..0000000
--- a/tests/child/ci/build.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-
-if [ ! -z "$INSTITUTE" -a -d "$INSTITUTE" -a -f "$INSTITUTE/build.sh" ]
-then
-	echo "Executing build.sh for $INSTITUTE"
-	cd "$INSTITUTE"
-	./build.sh
-	exit 0
-else
-	if [ ! -z "$INSTITUTE" ]
-	then
-		echo "Failed to execute ci/$INSTITUTE/build.sh !"
-		echo "Make sure ci/$INSTITUTE/build.sh exists"
-	else
-		echo "Mr Jenkins needs additional configuration!"
-		echo "Go to Jenkins dashboard -> Manage Jenkins -> Global Properties, tick Environment Variables and add a key-value pair: name - INSTITUTE, value - YourInstituteName."
-		echo "Check out the project. Go to the 'ci' directory and create a 'YourInstituteName' subdirectory. In the 'YourInstituteName' subdirectory create a 'build.sh' file which will contain the recipe how to build your project. Make the 'build.sh' file executable. Commit changes."
-	fi
-	exit -1
-fi
\ No newline at end of file
diff --git a/tests/child/test/child.py b/tests/child/test/child.py
deleted file mode 100644
index aeba0b4..0000000
--- a/tests/child/test/child.py
+++ /dev/null
@@ -1,13 +0,0 @@
-import sys
-
-directory = '/tmp/jenkins/jobs/Test/'
-
-try:
-    testString = open(directory + 'testfile', 'r').read()
-except:
-    print('File doesnt exist!')
-    exit(1)
-
-print(testString)
-
-exit(0)
\ No newline at end of file
diff --git a/tests/parent/ci/ALBA/build.sh b/tests/parent/ci/ALBA/build.sh
deleted file mode 100755
index 20e769b..0000000
--- a/tests/parent/ci/ALBA/build.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/bash
-
-cd ../..
-
-python test/parent.py
-
-if [ $? -eq 0 ]
-then
-	exit 0
-else
-	exit 1
-fi
\ No newline at end of file
diff --git a/tests/parent/ci/build.sh b/tests/parent/ci/build.sh
deleted file mode 100755
index 088ad1e..0000000
--- a/tests/parent/ci/build.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-
-if [ ! -z "$INSTITUTE" -a -d "$INSTITUTE" -a -f "$INSTITUTE/build.sh" ]
-then
-	echo "Executing build.sh for $INSTITUTE"
-	cd "$INSTITUTE"
-	./build.sh
-	exit $?
-else
-	if [ ! -z "$INSTITUTE" ]
-	then
-		echo "Failed to execute ci/$INSTITUTE/build.sh !"
-		echo "Make sure ci/$INSTITUTE/build.sh exists"
-	else
-		echo "Mr Jenkins needs additional configuration!"
-		echo "Go to Jenkins dashboard -> Manage Jenkins -> Global Properties, tick Environment Variables and add a key-value pair: name - INSTITUTE, value - YourInstituteName."
-		echo "Check out the project. Go to the 'ci' directory and create a 'YourInstituteName' subdirectory. In the 'YourInstituteName' subdirectory create a 'build.sh' file which will contain the recipe how to build your project. Make the 'build.sh' file executable. Commit changes."
-	fi
-	exit -1
-fi
diff --git a/tests/parent/test/parent.py b/tests/parent/test/parent.py
deleted file mode 100644
index b4469a4..0000000
--- a/tests/parent/test/parent.py
+++ /dev/null
@@ -1,27 +0,0 @@
-from random import randint
-import sys
-import time
-import os
-
-exitCode = randint(0,1)
-
-T = time.asctime(time.localtime(time.time()))
-testString = 'Failure! ' + T
-successMessage = 'FAILED!'
-
-if exitCode == 1:
-    testString = 'Success! ' + T
-    successMessage = 'SUCCEEDED!'
-
-directory = '/tmp/jenkins/jobs/Test/'
-
-if not os.path.exists(directory):
-    os.makedirs(directory)
-
-file = open(directory + 'testfile', 'w')
-file.write(testString)
-file.close()
-
-print(successMessage)
-
-exit(exitCode)
\ No newline at end of file

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pytango.git



More information about the debian-science-commits mailing list