You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
992 B
37 lines
992 B
//===- TargetMachineTest.cpp ----------------------------------------------===//
|
|
//
|
|
// The MCLinker Project
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
#include "TargetMachineTest.h"
|
|
|
|
using namespace mcld;
|
|
using namespace mcldTEST;
|
|
|
|
// Constructor can do set-up work for all test here.
|
|
TargetMachineTest::TargetMachineTest() {
|
|
}
|
|
|
|
// Destructor can do clean-up work that doesn't throw exceptions here.
|
|
TargetMachineTest::~TargetMachineTest() {
|
|
}
|
|
|
|
// SetUp() will be called immediately before each test.
|
|
void TargetMachineTest::SetUp() {
|
|
}
|
|
|
|
// TearDown() will be called immediately after each test.
|
|
void TargetMachineTest::TearDown() {
|
|
}
|
|
|
|
//==========================================================================//
|
|
// Testcases
|
|
//
|
|
|
|
TEST_F(TargetMachineTest, addPassesToEmitFile) {
|
|
mcld::addPassesToEmitFile();
|
|
}
|