diff options
author | SzuWei Lin <szuweilin@google.com> | 2017-04-15 12:33:52 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-04-15 12:33:52 +0000 |
commit | 970c197eaabc4d864f8185274d6e7a03be5b07aa (patch) | |
tree | e70a585894c08d25e53c0b24b7aea19936a514c4 /tests | |
parent | 498009a57866199fc3380f1951378a325d4e0388 (diff) | |
parent | 77df91cf7a8ad38f0564fc0bc5fdff87a7beb8b9 (diff) | |
download | libufdt-970c197eaabc4d864f8185274d6e7a03be5b07aa.tar.gz |
Add Apache2 module license am: 4f00eda9fa
am: 77df91cf7a
Change-Id: Id051ba2dda1978ea6cf4d80f93e12da986a8cfce
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/apply_overlay.sh | 13 | ||||
-rwxr-xr-x | tests/common.sh | 13 | ||||
-rwxr-xr-x | tests/gen_test.sh | 13 | ||||
-rwxr-xr-x | tests/run_performance_test.sh | 13 | ||||
-rwxr-xr-x | tests/run_tests.sh | 13 | ||||
-rw-r--r-- | tests/src/Android.mk | 14 | ||||
-rw-r--r-- | tests/src/extract_dtb.c | 16 | ||||
-rw-r--r-- | tests/src/fdt_overlay_test_app.c | 16 | ||||
-rw-r--r-- | tests/src/ufdt_gen_test_dts.c | 16 | ||||
-rw-r--r-- | tests/src/ufdt_overlay_test_app.c | 16 | ||||
-rw-r--r-- | tests/src/util.c | 16 | ||||
-rw-r--r-- | tests/src/util.h | 16 | ||||
-rwxr-xr-x | tests/verify_dto_inc.sh | 13 |
13 files changed, 187 insertions, 1 deletions
diff --git a/tests/apply_overlay.sh b/tests/apply_overlay.sh index 8f23a41..55f863c 100755 --- a/tests/apply_overlay.sh +++ b/tests/apply_overlay.sh @@ -1,4 +1,17 @@ #!/bin/bash +# Copyright (C) 2016 The Android Open Source Project +# +# 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. PROG_NAME=`basename $0` diff --git a/tests/common.sh b/tests/common.sh index 7fcc4c4..241946e 100755 --- a/tests/common.sh +++ b/tests/common.sh @@ -1,4 +1,17 @@ #!/bin/bash +# Copyright (C) 2016 The Android Open Source Project +# +# 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. alert() { echo "$*" >&2 diff --git a/tests/gen_test.sh b/tests/gen_test.sh index 9b6d06c..b55e16f 100755 --- a/tests/gen_test.sh +++ b/tests/gen_test.sh @@ -1,4 +1,17 @@ #!/bin/bash +# Copyright (C) 2016 The Android Open Source Project +# +# 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. # We want to generate two device tree blob (.dtb) files by combining # the "base" and "add" device tree source (.dts) files in two diff --git a/tests/run_performance_test.sh b/tests/run_performance_test.sh index 3cfc1ed..586a9b2 100755 --- a/tests/run_performance_test.sh +++ b/tests/run_performance_test.sh @@ -1,4 +1,17 @@ #!/bin/bash +# Copyright (C) 2016 The Android Open Source Project +# +# 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. # Include some functions from common.sh. SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" diff --git a/tests/run_tests.sh b/tests/run_tests.sh index ea3e5ba..2953f07 100755 --- a/tests/run_tests.sh +++ b/tests/run_tests.sh @@ -1,4 +1,17 @@ #!/bin/bash +# Copyright (C) 2016 The Android Open Source Project +# +# 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. # Include some functions from common.sh. SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" diff --git a/tests/src/Android.mk b/tests/src/Android.mk index bdeca04..a8af2bb 100644 --- a/tests/src/Android.mk +++ b/tests/src/Android.mk @@ -1,4 +1,16 @@ -# Copyright 2016 The Android Open Source Project +# Copyright (C) 2016 The Android Open Source Project +# +# 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. LOCAL_PATH:= $(call my-dir) diff --git a/tests/src/extract_dtb.c b/tests/src/extract_dtb.c index 71b763f..8d74324 100644 --- a/tests/src/extract_dtb.c +++ b/tests/src/extract_dtb.c @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 The Android Open Source Project + * + * 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. + */ + #include <stdio.h> #include <stdlib.h> diff --git a/tests/src/fdt_overlay_test_app.c b/tests/src/fdt_overlay_test_app.c index b023452..6420cea 100644 --- a/tests/src/fdt_overlay_test_app.c +++ b/tests/src/fdt_overlay_test_app.c @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 The Android Open Source Project + * + * 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. + */ + #include <stdlib.h> #include <time.h> diff --git a/tests/src/ufdt_gen_test_dts.c b/tests/src/ufdt_gen_test_dts.c index 8f0a27f..69a4c3c 100644 --- a/tests/src/ufdt_gen_test_dts.c +++ b/tests/src/ufdt_gen_test_dts.c @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 The Android Open Source Project + * + * 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. + */ + #include <getopt.h> #include <stdio.h> #include <stdlib.h> diff --git a/tests/src/ufdt_overlay_test_app.c b/tests/src/ufdt_overlay_test_app.c index 587328c..013ba1b 100644 --- a/tests/src/ufdt_overlay_test_app.c +++ b/tests/src/ufdt_overlay_test_app.c @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 The Android Open Source Project + * + * 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. + */ + #include <stdio.h> #include <stdlib.h> #include <time.h> diff --git a/tests/src/util.c b/tests/src/util.c index 1c76773..7435d5b 100644 --- a/tests/src/util.c +++ b/tests/src/util.c @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 The Android Open Source Project + * + * 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. + */ + #include "util.h" #include <stdio.h> diff --git a/tests/src/util.h b/tests/src/util.h index 3b68e14..4f63df2 100644 --- a/tests/src/util.h +++ b/tests/src/util.h @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 The Android Open Source Project + * + * 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. + */ + #ifndef UTIL_H #define UTIL_H diff --git a/tests/verify_dto_inc.sh b/tests/verify_dto_inc.sh index ed258a0..6fee1e0 100755 --- a/tests/verify_dto_inc.sh +++ b/tests/verify_dto_inc.sh @@ -1,4 +1,17 @@ #!/bin/bash +# Copyright (C) 2016 The Android Open Source Project +# +# 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. PROG_NAME=`basename $0` |