Open
Bug 676198
Opened 13 years ago
Updated 5 years ago
Test suite for elfhack
Categories
(Firefox Build System :: General, enhancement, P3)
Tracking
(Not tracked)
NEW
People
(Reporter: glandium, Unassigned)
References
Details
As mentioned in bug 674888, we need a test suite to keep track of linker-specific issues. The current check is good enough to assert make package won't fail with the toolchain being used when building, but doesn't check that elfhack itself doesn't regress on different toolchains.
Reporter | ||
Updated•13 years ago
|
Assignee: nobody → mh+mozilla
Reporter | ||
Updated•13 years ago
|
Comment 1•13 years ago
|
||
If you're interested in making synthetic ELF files for testing, I wrote a class for that for Breakpad unit tests recently:
http://code.google.com/p/google-breakpad/source/browse/trunk/src/common/linux/synth_elf.h
http://code.google.com/p/google-breakpad/source/browse/trunk/src/common/linux/synth_elf.cc
It builds on jimb's general purpose test assembler stuff:
http://code.google.com/p/google-breakpad/source/browse/trunk/src/common/test_assembler.h
You can see a few examples of both here:
http://code.google.com/p/google-breakpad/source/browse/trunk/src/common/linux/synth_elf_unittest.cc
http://code.google.com/p/google-breakpad/source/browse/trunk/src/common/test_assembler_unittest.cc
http://code.google.com/p/google-breakpad/source/browse/trunk/src/common/linux/dump_symbols_unittest.cc
Reporter | ||
Comment 2•13 years ago
|
||
In fact, elfhack may already have all it takes to do that.
Updated•7 years ago
|
Product: Core → Firefox Build System
Reporter | ||
Updated•5 years ago
|
Assignee: mh+mozilla → nobody
Severity: normal → N/A
Type: defect → enhancement
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•