Add Google test based tests.

Initial testing include an "id test", which really just a
template test at this point, and a temperature sensor test.

The google test code is included in this commit. It will
eventually be taken out and replaced with a pull from a google
external repo.

Change-Id: I591818a9c169f4654fc8d8f17cf648f227d72545


[ROCm/rdc commit: ca4344f5fa]
This commit is contained in:
Chris Freehill
2020-01-06 11:15:19 -06:00
والد ba14edbb4d
کامیت 77683bf0e8
345فایلهای تغییر یافته به همراه139118 افزوده شده و 3 حذف شده
@@ -192,7 +192,8 @@ MakeDaemon() {
// the complement of the permissions we want files to have.
umask(027);
// To Do; Make this optional based on CL option.
// To Do; Make this optional based on CL option. By default, don't do this.
// Instead rely on serviced to make it a daemon.
#if 0
pid_t pid;
// We want to dissassociate with calling process, so fork, and let