summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile15
-rwxr-xr-xcompare-results.sh14
-rw-r--r--deps/Makefile14
-rw-r--r--gen_links.sh.inc15
-rwxr-xr-xlog_merge.sh15
-rwxr-xr-xregen-makefile.sh16
-rwxr-xr-xstart-testsuite.sh15
-rwxr-xr-xupdate_expected_results_from_jenkins.sh15
8 files changed, 119 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b8778af..2c8e951 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,18 @@
+# Copyright 2017 Harald Welte
+# Copyright 2018 sysmocom - s.f.m.c. GmbH
+#
+# Licensed 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.
+
SUBDIRS=bsc bsc-nat bts ggsn_tests hlr mgw msc pcu sccp selftest sgsn sip sysinfo
NPROC=$(shell nproc 2>/dev/null)
diff --git a/compare-results.sh b/compare-results.sh
index cce3a8d..6037174 100755
--- a/compare-results.sh
+++ b/compare-results.sh
@@ -2,6 +2,20 @@
expected_file="$1"
results_file="$2"
+# Copyright 2018 sysmocom - s.f.m.c. GmbH
+#
+# Licensed 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.
+
usage() {
echo "
Usage:
diff --git a/deps/Makefile b/deps/Makefile
index 23f7b64..cdca8f1 100644
--- a/deps/Makefile
+++ b/deps/Makefile
@@ -1,3 +1,17 @@
+# Copyright 2017 Harald Welte
+# Copyright 2018 sysmocom - s.f.m.c. GmbH
+#
+# Licensed 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.
ECLIPSEGIT:=https://github.com/eclipse
ECLIPSEGIT2:=git://git.eclipse.org/gitroot/titan
diff --git a/gen_links.sh.inc b/gen_links.sh.inc
index 8a87359..539b398 100644
--- a/gen_links.sh.inc
+++ b/gen_links.sh.inc
@@ -1,6 +1,21 @@
#!dont_run_this
# This file is sourced by */gen_links.sh
+# Copyright 2017 Harald Welte
+# Copyright 2018 sysmocom - s.f.m.c. GmbH
+#
+# Licensed 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.
+
rm -f .gitignore
gen_link() {
diff --git a/log_merge.sh b/log_merge.sh
index d3c50f7..886b788 100755
--- a/log_merge.sh
+++ b/log_merge.sh
@@ -7,6 +7,21 @@
#
# the output files will be called "Module-Testcase.merged"
+# Copyright 2018 Harald Welte
+# Copyright 2018 sysmocom - s.f.m.c. GmbH
+#
+# Licensed 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.
+
if [ "x$1" = "x" ]; then
echo "You have to specify the Test Suite prefix"
exit 2
diff --git a/regen-makefile.sh b/regen-makefile.sh
index d2b747e..7be47bb 100755
--- a/regen-makefile.sh
+++ b/regen-makefile.sh
@@ -1,5 +1,21 @@
#!/bin/sh
+# Copyright 2017-2019 Harald Welte
+# Copyright 2018 sysmocom - s.f.m.c. GmbH
+#
+# Licensed 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.
+
+
# Wrapper around the TITAN make file generator to work in Debian.
#
# TITAN has a makefile generator, but somehow Debian seems to install
diff --git a/start-testsuite.sh b/start-testsuite.sh
index 31bc891..54332bb 100755
--- a/start-testsuite.sh
+++ b/start-testsuite.sh
@@ -3,6 +3,21 @@
# Helper script to starte a TITAN-generated test suite, supporting
# dynamically linked suites to ensure JUNIT generation is possible.
+# Copyright 2017 Harald Welte
+# Copyright 2018 sysmocom - s.f.m.c. GmbH
+#
+# Licensed 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.
+
if [ $# -lt 1 ]; then
echo "You have to specify the test suite name"
echo "Syntax example: $0 osmo-ttcn3-hacks/ggsn_tests/GGSN_Test ./GGSN_Test.cfg"
diff --git a/update_expected_results_from_jenkins.sh b/update_expected_results_from_jenkins.sh
index 7677cff..d30e640 100755
--- a/update_expected_results_from_jenkins.sh
+++ b/update_expected_results_from_jenkins.sh
@@ -1,5 +1,20 @@
#!/bin/sh
+# Copyright 2018 sysmocom - s.f.m.c. GmbH
+#
+# Licensed 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.
+
+
# Download the latest junit xml results from the jenkins.osmocom.org workspaces.
# Usage:
# - have a clean git clone of osmo-ttcn3-hacks