3 tests fail in test suite

Bug #1581981 reported by Paul Menzel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Firmware Test Suite
Fix Released
Medium
Colin Ian King

Bug Description

Running `make check`, three tests fail.

```
$ export TMP=/tmp; export FWTS=src/fwts; export FWTSTESTDIR=fwts-test; fwts-test/arg-show-tests-0001/test-0001.sh
77a78,79
> dt_base Base device tree validity check
> dt_sysinfo Device tree system information test
FAILED: Test -s option, test-0001.sh
```

The other two option tests fail too.

I guess the new options should be added to the template.

Revision history for this message
Colin Ian King (colin-king) wrote :

I believe there is a missing build dependency that currently causes this. There is a patch that is waiting to be reviewed that adds in this dependency.

https://lists.ubuntu.com/archives/fwts-devel/2016-May/007903.html

Apply this patch and ensure libfdt-dev and optionally device-tree-compiler is installed and rerun the autoreconf, configure and make and you should be OK

Changed in fwts:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Colin Ian King (colin-king)
Revision history for this message
Paul Menzel (pm-debian) wrote :

Commit dab00f3 (debian/control: add libfdt-dev and device-tree-compiler) is already present in my git clone.

But the mentioned packages are not installed.

With the two packages installed, the test suite passes.

```
============================================================================
Testsuite summary for fwts 0.1
============================================================================
# TOTAL: 125
# PASS: 125
# SKIP: 0
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
============================================================================
```

Maybe `make check` should test, if all the dependencies are installed.

Thank you for the quick help.

Changed in fwts:
status: In Progress → Fix Committed
Changed in fwts:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.