History log of /openbmc/phosphor-event/test/Makefile.am (Results 1 – 2 of 2)
Revision Date Author Comments
# 74c09632 14-Nov-2016 Josh King <jdking@us.ibm.com>

Implemented phosphor-event tests to gtest

This is the implemented portion of the tests
over to gtest. As I have done previously I
used test.C as a guide to complete the
implementation of the tests.

Implemented phosphor-event tests to gtest

This is the implemented portion of the tests
over to gtest. As I have done previously I
used test.C as a guide to complete the
implementation of the tests. One thing worth
noting is that in the main method I had to
modify the final few lines of code so that once
the tests finished running, we would call setup()
which clears the events created during this
test. This is necessary so that if you were
to run the tests a second time you wouldn't
continue off from the previous event number
you were at and instead you will now be starting
fresh.

Resolved openbmc/openbmc#561

Change-Id: Ic192ac7753c7a9da541e8ed6efb272f43486ef95
Signed-off-by: Josh King <jdking@us.ibm.com>

show more ...


# 37fd9a65 07-Nov-2016 Josh King <jdking@us.ibm.com>

Created gtest Framework - added necessary files

In order to convert phosphor-event tests to gtest
I needed to start by creating the framework for
the tests. I created a new sub directory called
tes

Created gtest Framework - added necessary files

In order to convert phosphor-event tests to gtest
I needed to start by creating the framework for
the tests. I created a new sub directory called
test in which I created the cpp file utest where I will
be implementing the unit tests. As of right now
I have a sample test in place to verify that everything
is linked properly and will successfully pass its
test. Sample.cpp and Sample.h are needed for the
example test case created and ran inside utest.cpp.
I had to modify both the Makefile.am and configure.ac
to accomidate my new test directory so it would be
included in the make process.

Change-Id: I163584007f52b763c564de516effe35ae6055eb3
Signed-off-by: Josh King <jdking@us.ibm.com>

show more ...