Skip to content
Snippets Groups Projects
  1. Jan 28, 2017
  2. Jan 27, 2017
  3. Jan 20, 2017
  4. Jan 19, 2017
  5. Jan 18, 2017
  6. Jan 16, 2017
  7. Jan 15, 2017
  8. Jan 13, 2017
    • Alex Xie's avatar
      amdgpu: Provide more specific error message if non-privileged user runs amdgpu_test · e1ee01a7
      Alex Xie authored
      
      Before this change, the error message is:
      "WARNING - Suite initialization failed..."
      People might think this is a driver problem.
      
      Tested with non-privileged user. Now the error message is like:
      ...
      Error:Permission denied. Hint:Try to run this test program as root.
      WARNING - Suite initialization failed for 'Basic Tests'.
      ...
      
      Tested as root with no regression.
      
      amdgpu_test uses CUnit. CUnit outputs warning message to stdout.
      To be consistent, this commit outputs error message to stdout.
      
      v2: Use strerror instead of %m. %m is a GNU C Library extension.
      v3: Limit code and commit message within 80 characters per line.
          Update commit message.
          Remove a space before starting parenthesis in function call.
      
      Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
      Signed-off-by: default avatarAlex Xie <AlexBin.Xie@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      e1ee01a7
  9. Jan 12, 2017
  10. Dec 24, 2016
  11. Dec 19, 2016
  12. Dec 14, 2016
Loading