Proyectos de Subversion Moodle

Rev

Rev 11 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 11 Rev 1441
Línea 90... Línea 90...
90
            }
90
            }
91
            if ($result->info === 'php not 64 bits' && PHP_INT_SIZE == 4) {
91
            if ($result->info === 'php not 64 bits' && PHP_INT_SIZE == 4) {
92
                // If we're on a 32-bit system, skip 64-bit check. 32-bit PHP has PHP_INT_SIZE set to 4.
92
                // If we're on a 32-bit system, skip 64-bit check. 32-bit PHP has PHP_INT_SIZE set to 4.
93
                $this->markTestSkipped('64-bit check is not necessary for unit testing.');
93
                $this->markTestSkipped('64-bit check is not necessary for unit testing.');
94
            }
94
            }
95
            if ($result->info === 'oracle_database_usage') {
-
 
96
                // If we're on a system that uses the Oracle database, skip the Oracle check.
-
 
97
                $this->markTestSkipped('Oracle database check is not necessary for unit testing.');
-
 
98
            }
-
 
99
        }
95
        }
100
        $info = "{$result->part}:{$result->info}";
96
        $info = "{$result->part}:{$result->info}";
101
        $this->assertTrue($result->getStatus(), "Problem detected in environment ($info), fix all warnings and errors!");
97
        $this->assertTrue($result->getStatus(), "Problem detected in environment ($info), fix all warnings and errors!");
102
    }
98
    }