| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 4839ef3 commit 7fb4794
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -27,7 +27,7 @@ exports.isLinuxPPCBE = (process.platform === 'linux') && | |||
| 27 | 27 | exports.isSunOS = process.platform === 'sunos'; | |
| 28 | 28 | exports.isFreeBSD = process.platform === 'freebsd'; | |
| 29 | 29 | ||
| 30 | - exports.enoughTestMem = os.totalmem() > 0x20000000; /* 512MB */ | ||
| 30 | + exports.enoughTestMem = os.totalmem() > 0x40000000; /* 1 Gb */ | ||
| 31 | 31 | exports.rootDir = exports.isWindows ? 'c:\\' : '/'; | |
| 32 | 32 | ||
| 33 | 33 | function rimrafSync(p) { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,13 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | 2 | ||
| 3 | 3 | const common = require('../common'); | |
| 4 | + | ||
| 5 | + if (!common.enoughTestMem) { | ||
| 6 | + const skipMessage = 'intensive toString tests due to memory confinements'; | ||
| 7 | + common.skip(skipMessage); | ||
| 8 | + return; | ||
| 9 | + } | ||
| 10 | + | ||
| 4 | 11 | const assert = require('assert'); | |
| 5 | 12 | const fs = require('fs'); | |
| 6 | 13 | const path = require('path'); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments