summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSzuWei Lin <szuweilin@google.com>2016-12-27 14:09:00 +0800
committerSzuWei Lin <szuweilin@google.com>2016-12-29 08:15:46 +0000
commit062a739b73d017b804b4b7c8f2d395531de1bfb7 (patch)
tree947059517d43175f30cef23f5a5218a6a7ae08fc /tests
parentf6c209b3f409f879305ac9837524b9d34c850de6 (diff)
downloadlibufdt-062a739b73d017b804b4b7c8f2d395531de1bfb7.tar.gz
Disable warning messages of testing
With new version dtc, running test cases in libufdt will get some warning messages when compiling overlay DT, such as: Warning (unit_address_vs_reg): Node /fragment@0 has a unit name, but no reg property Avoid to noise the result of testing, add parameter -qq to disable these warning messages in unit testing. Bug: 33908117 Test: run test scripts (see libufdt/tests/README) Change-Id: I874562cc00e1cb49c3417ea83f09925c77939207
Diffstat (limited to 'tests')
-rwxr-xr-xtests/gen_test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gen_test.sh b/tests/gen_test.sh
index 5f30b71..74f7177 100755
--- a/tests/gen_test.sh
+++ b/tests/gen_test.sh
@@ -64,11 +64,11 @@ prepare_tests() {
# Compile test cases into dtb, and do the diff things.
compile_and_diff() {
# Compile the base to make .base_dtb
- dtc -O dtb -b 0 -@ -o "${OUT_DATA_DIR}/${FILENAME}.base_dtb" \
+ dtc -O dtb -b 0 -qq -@ -o "${OUT_DATA_DIR}/${FILENAME}.base_dtb" \
"${OUT_DATA_DIR}/${FILENAME}.base_dts"
# Compile the overlay to make .add_ov_dtbo
- dtc -O dtb -b 0 -@ -o "${OUT_DATA_DIR}/${FILENAME}.add_ov_dtbo" \
+ dtc -O dtb -b 0 -qq -@ -o "${OUT_DATA_DIR}/${FILENAME}.add_ov_dtbo" \
"${OUT_DATA_DIR}/${FILENAME}.add_ov_dts"
# Run ov_test to combine .base_dtb and .add_ov_dtbo