Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 850 Bytes

Building.md

File metadata and controls

38 lines (26 loc) · 850 Bytes

Building FwAnalyzer

Requirements

  • golang + dep + golang-lint
  • Python
  • filesystem tools such as e2tools, mtools

The full list of dependencies is tracked in the Dockerfile.

Clone Repository

cd go/src/github.com/cruise-automation/
git clone [email protected]:cruise-automation/fwanalyzer.git

Building

Before building you need to download some third party go libraries, run make deps before the first build.

cd go/src/github.com/cruise-automation/fwanalyzer
make deps
make

The fwanalyzer binary will be in build/.

Testing

We have two types of tests: unit tests and integration tests, both tests will be triggered by running make test. Tests rely on e2tools, mtools, squashfs-tools, and ubi_reader, as well as Python.

cd go/src/github.com/cruise-automation/fwanalyzer
make test