mirror of
https://git.freebsd.org/ports.git
synced 2025-07-08 12:59:17 -04:00
- Add an option to run regression test, default off. [1] If this option is selected, an extra distribution file containing test data is downloaded from an upstream mastersite. - Rename the CLANG option to GCC and flip the default to off, as clang is the default compiler for this port for quite some time now. [2] Submitted by: George Liaskos [1,2]
20 lines
620 B
C++
20 lines
620 B
C++
--- gpu/config/gpu_test_config.cc.orig 2013-09-02 21:22:26.000000000 +0300
|
|
+++ gpu/config/gpu_test_config.cc 2013-09-02 21:23:55.000000000 +0300
|
|
@@ -17,8 +17,6 @@
|
|
GPUTestConfig::OS GetCurrentOS() {
|
|
#if defined(OS_CHROMEOS)
|
|
return GPUTestConfig::kOsChromeOS;
|
|
-#elif defined(OS_LINUX) || defined(OS_OPENBSD)
|
|
- return GPUTestConfig::kOsLinux;
|
|
#elif defined(OS_WIN)
|
|
int32 major_version = 0;
|
|
int32 minor_version = 0;
|
|
@@ -53,6 +51,8 @@
|
|
}
|
|
#elif defined(OS_ANDROID)
|
|
return GPUTestConfig::kOsAndroid;
|
|
+#elif defined(OS_POSIX)
|
|
+ return GPUTestConfig::kOsLinux;
|
|
#endif
|
|
return GPUTestConfig::kOsUnknown;
|
|
}
|