(file)
| 21 | } |
| 22 | |
| 23 | function shouldRunTest(file) { |
| 24 | var name = path.basename(file).slice(0, -3) |
| 25 | var proto = common.protocol(); |
| 26 | var exclude = ['model-aggregate','property-number-size','smart-types']; |
| 27 | |
| 28 | if (proto == "mongodb" && exclude.indexOf(name) >= 0) return false; |
| 29 | |
| 30 | return true; |
| 31 | } |
| 32 | |
| 33 | function runTests() { |
| 34 | if (common.protocol() == 'mongodb' && common.nodeVersion().major > 6) { |