kfdtest: Style cleanup
Clean up the KFDTest style via CPPLint. Some warnings remain regarding volatile variables being cast to void*. This is the command used: cpplint.py --linelength=120 --filter=-readability/multiline_string,-readability/todo,-build/include,-runtime/references multiline_string is due to using ISA code todo is to avoid errors that we don't have TODO(username) instead of TODO include is about including the folder in the header includes references is regarding non-const references '&' being const or using pointers. That can be addressed later Change-Id: I3c6622da0a13dd33ab29b2bfff48be25e763b750
This commit is contained in:
@@ -42,7 +42,7 @@ std::ostream& operator << (std::ostream& out, TESTPROFILE profile) {
|
||||
break;
|
||||
default:
|
||||
out << "INVALID";
|
||||
};
|
||||
}
|
||||
|
||||
return out;
|
||||
}
|
||||
@@ -71,7 +71,8 @@ GTEST_API_ int main(int argc, char **argv) {
|
||||
bool success = GetCommandLineArguments(argc, argv, args);
|
||||
|
||||
if (success) {
|
||||
if ((GetHwCapabilityHWS() || args.HwsEnabled == HWCAP__FORCE_ENABLED) && (args.HwsEnabled != HWCAP__FORCE_DISABLED))
|
||||
if ((GetHwCapabilityHWS() || args.HwsEnabled == HWCAP__FORCE_ENABLED) &&
|
||||
(args.HwsEnabled != HWCAP__FORCE_DISABLED))
|
||||
g_TestENVCaps |= ENVCAPS_HWSCHEDULING;
|
||||
|
||||
g_TestRunProfile = args.TestProfile;
|
||||
|
||||
Reference in New Issue
Block a user