summaryrefslogtreecommitdiff
path: root/cpp/tests
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-07-05 10:26:03 +0000
committerGordon Sim <gsim@apache.org>2007-07-05 10:26:03 +0000
commit7352d9c999fa9f5b62bbb0aa283e06f53bc35965 (patch)
tree0d04bd95daa404c23b59811e59381efcb00289cf /cpp/tests
parent50d8ccd9060dfe0e4513e2be7f58621f78b5d8b4 (diff)
downloadqpid-python-7352d9c999fa9f5b62bbb0aa283e06f53bc35965.tar.gz
Added license to files that seemed to be missing it.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@553447 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/tests')
-rw-r--r--cpp/tests/Makefile.am18
-rwxr-xr-xcpp/tests/daemon_test18
-rwxr-xr-xcpp/tests/env18
-rw-r--r--cpp/tests/examples.Makefile18
-rwxr-xr-xcpp/tests/run-python-tests18
-rwxr-xr-xcpp/tests/run-system-tests18
-rwxr-xr-xcpp/tests/run-unit-tests18
-rw-r--r--cpp/tests/setup18
-rwxr-xr-xcpp/tests/topicall18
-rwxr-xr-xcpp/tests/topictest18
10 files changed, 180 insertions, 0 deletions
diff --git a/cpp/tests/Makefile.am b/cpp/tests/Makefile.am
index 654c4dc1de..09ccda8686 100644
--- a/cpp/tests/Makefile.am
+++ b/cpp/tests/Makefile.am
@@ -1,3 +1,21 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
AM_CXXFLAGS = $(WARNING_CFLAGS) $(CPPUNIT_CXXFLAGS)
INCLUDES = \
-I$(top_srcdir)/gen \
diff --git a/cpp/tests/daemon_test b/cpp/tests/daemon_test
index a137e247f0..0800ee9cd5 100755
--- a/cpp/tests/daemon_test
+++ b/cpp/tests/daemon_test
@@ -1,4 +1,22 @@
#!/bin/sh
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
# Without arguments run all daemon tests, exit status is number of failures.
# With arguments run just the test named by $1.
#
diff --git a/cpp/tests/env b/cpp/tests/env
index 49201c01fd..2d88077ae5 100755
--- a/cpp/tests/env
+++ b/cpp/tests/env
@@ -1,4 +1,22 @@
#!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
# Set environment variables for test scripts.
pathmunge () {
diff --git a/cpp/tests/examples.Makefile b/cpp/tests/examples.Makefile
index 45999f7852..4a0fd808a1 100644
--- a/cpp/tests/examples.Makefile
+++ b/cpp/tests/examples.Makefile
@@ -1,4 +1,22 @@
#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+#
# XXX: Edit these locations to suit.
#
BOOST_LOCATION := $(HOME)/local/boost-1.33.1
diff --git a/cpp/tests/run-python-tests b/cpp/tests/run-python-tests
index c19b2f0193..5148f644eb 100755
--- a/cpp/tests/run-python-tests
+++ b/cpp/tests/run-python-tests
@@ -1,4 +1,22 @@
#!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
test -x $abs_srcdir/../../python/run-tests || {
echo WARNING: Python tests not available, skipping.
diff --git a/cpp/tests/run-system-tests b/cpp/tests/run-system-tests
index 5aa0f9a409..2f2728da32 100755
--- a/cpp/tests/run-system-tests
+++ b/cpp/tests/run-system-tests
@@ -1,4 +1,22 @@
#!/bin/sh
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
set -e
log=`pwd`/qpidd.log
diff --git a/cpp/tests/run-unit-tests b/cpp/tests/run-unit-tests
index 0ab01f05c5..27e88a5d9d 100755
--- a/cpp/tests/run-unit-tests
+++ b/cpp/tests/run-unit-tests
@@ -1,4 +1,22 @@
#!/bin/sh
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
. $srcdir/setup
diff --git a/cpp/tests/setup b/cpp/tests/setup
index 9dde4758b1..f46435864b 100644
--- a/cpp/tests/setup
+++ b/cpp/tests/setup
@@ -1,4 +1,22 @@
# -*- sh -*-
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
test "$VERBOSE" = yes && set -x
diff --git a/cpp/tests/topicall b/cpp/tests/topicall
index bde04a5b30..5f80955309 100755
--- a/cpp/tests/topicall
+++ b/cpp/tests/topicall
@@ -1,4 +1,22 @@
#!/bin/sh
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
# Do 3 runs of topictests for C++ and Java brokers with reduced output.
. `dirname $0`/env
diff --git a/cpp/tests/topictest b/cpp/tests/topictest
index 8ad24aba8c..28af55951e 100755
--- a/cpp/tests/topictest
+++ b/cpp/tests/topictest
@@ -1,4 +1,22 @@
#!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
# Run the c++ or java topic test
. `dirname $0`/env