projects / phoronix-test-suite.git / commitdiff
Build Results
 
Summary

Description: Phoronix Test Suite open-source benchmarking development
Last Change: Tue 5/21/13 15:49

Recent Commits
Time
Signed-Off By
Description
Commit Diff
Tue 5/21/13 15:49
Michael Larabel  
Phoronix Test Suite... 
Fri 5/17/13 22:52
Michael Larabel  
phodevi: Report CPU... 
Wed 5/15/13 21:50
Michael Larabel  
Phoronix Test Suite... 
Wed 5/15/13 21:39
Michael Larabel  
pts-core: DragonFlyBSD... 
Wed 5/15/13 15:47
Michael Larabel  
pts-core: Updates from... 
Wed 5/15/13 15:43
Michael Larabel  
 
 
> --git a/CHANGE-LOG b/CHANGE-LOG
index 74385ec
..8303a31 100644
--- a/CHANGE-LOG
+++ b/CHANGE-LOG
@@ -30,+30,@@ Phoronix Test Suite (Git)
 - 
pts-coreAlias CC=gcc if gcc is present and cc is not
 
pts-coreAlways save test log filesmake them easily accessible from the PTS Results Viewer
 
pts-coreAdd TEST_COUNT_PASS graph type for ResultFormat
+- pts-coreWhen running on BSDdetect if Linux compatibility support is loaded and then allow Linux-supported test profiles to run
 
phodeviSplit out phodevi_parser module into phodevi_linux_parserphodevi_osx_parser, and phodevi_solaris_parser for OS-specific functions
 
phodeviAvoid situations of the manufacturer/vendor string being repeated in the motherboard property
 
phodeviAdd device notes and special settings string functionality to API
diff 
--git a/pts-core/library/pts-functions_tests.php b/pts-core/library/pts-functions_tests.php
index 9d2e3a3
..57b4be9 100644
--- a/pts-core/library/pts-functions_tests.php
+++ b/pts-core/library/pts-functions_tests.php
@@ -607,+607,16 @@ function pts_test_platform_supported($identifier)

             if(!
in_array(OPERATING_SYSTEM$platforms))
             {
-                
$supported false;
+                if(
IS_BSD && strpos(shell_exec("kldstat -n linux 2>&1"), "linux.ko") != false && in_array("Linux"$platforms))
+                {
+                    
// The OS is BSD but there is Linux API/ABI compatibility support loaded
+                    $supported true;
+
+                }
+                else
+                {
+                    
$supported false;
+                }
             }
         }
     }
<
 
Phoronix.com
Linux Driver Forums
Copyright © 2013 by Phoronix Media