Add missing virtual distructors
This commit is contained in:
@ -96,16 +96,15 @@ async function runVM(cpioImage) {
|
||||
}
|
||||
|
||||
async function runInDirectory (directoryPath) {
|
||||
const testSources = await glob(path.join(directoryPath, '*.eln'))
|
||||
let failed = 0
|
||||
|
||||
for (const testEntry of testSources) {
|
||||
console.log(`Compiling ${path.basename(testEntry)}.`)
|
||||
|
||||
for (const testEntry of await glob(path.join(directoryPath, '*.eln'))) {
|
||||
const parsedPath = path.parse(testEntry)
|
||||
|
||||
console.log(`Compiling ${parsedPath.base}.`)
|
||||
const buildResult = await compileTest(parsedPath)
|
||||
|
||||
if (buildResult.output !== '') {
|
||||
if (buildResult.code !== 0) {
|
||||
if (!(await checkFailure(parsedPath, buildResult))) {
|
||||
++failed
|
||||
}
|
||||
@ -120,7 +119,7 @@ async function runInDirectory (directoryPath) {
|
||||
await runVM(cpioImage)
|
||||
|
||||
return {
|
||||
total: testSources.length,
|
||||
total: (await glob(path.join(directoryPath, 'failures/*'))).length,
|
||||
failed,
|
||||
|
||||
passed () {
|
||||
|
Reference in New Issue
Block a user