Make programs in src/tools/linux build via the automake build system

R=jimb at http://breakpad.appspot.com/265001

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@775 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
ted.mielczarek
2011-02-28 14:05:22 +00:00
parent d2b6b9ae82
commit dbf409ca20
10 changed files with 1254 additions and 478 deletions

View File

@@ -38,7 +38,7 @@ using google_breakpad::DwarfLineToModule;
using google_breakpad::Module;
using google_breakpad::Module;
TEST(Simple, One) {
TEST(SimpleModule, One) {
Module m("name", "os", "architecture", "id");
vector<Module::Line> lines;
DwarfLineToModule h(&m, &lines);
@@ -59,7 +59,7 @@ TEST(Simple, One) {
EXPECT_EQ(0x4c090cbf, lines[0].number);
}
TEST(Simple, Many) {
TEST(SimpleModule, Many) {
Module m("name", "os", "architecture", "id");
vector<Module::Line> lines;
DwarfLineToModule h(&m, &lines);
@@ -196,7 +196,7 @@ TEST(Filenames, StrangeDirectoryAndFile) {
// We should silently ignore attempts to define directory number zero,
// since that is always the compilation directory.
TEST(Errors, DirectoryZero) {
TEST(ModuleErrors, DirectoryZero) {
Module m("name", "os", "architecture", "id");
vector<Module::Line> lines;
DwarfLineToModule h(&m, &lines);
@@ -212,7 +212,7 @@ TEST(Errors, DirectoryZero) {
// We should refuse to add lines with bogus file numbers. We should
// produce only one warning, however.
TEST(Errors, BadFileNumber) {
TEST(ModuleErrors, BadFileNumber) {
Module m("name", "os", "architecture", "id");
vector<Module::Line> lines;
DwarfLineToModule h(&m, &lines);
@@ -226,7 +226,7 @@ TEST(Errors, BadFileNumber) {
// We should treat files with bogus directory numbers as relative to
// the compilation unit.
TEST(Errors, BadDirectoryNumber) {
TEST(ModuleErrors, BadDirectoryNumber) {
Module m("name", "os", "architecture", "id");
vector<Module::Line> lines;
DwarfLineToModule h(&m, &lines);
@@ -241,7 +241,7 @@ TEST(Errors, BadDirectoryNumber) {
}
// We promise not to report empty lines.
TEST(Errors, EmptyLine) {
TEST(ModuleErrors, EmptyLine) {
Module m("name", "os", "architecture", "id");
vector<Module::Line> lines;
DwarfLineToModule h(&m, &lines);
@@ -254,7 +254,7 @@ TEST(Errors, EmptyLine) {
// We are supposed to clip lines that extend beyond the end of the
// address space.
TEST(Errors, BigLine) {
TEST(ModuleErrors, BigLine) {
Module m("name", "os", "architecture", "id");
vector<Module::Line> lines;
DwarfLineToModule h(&m, &lines);