()
| 11 | ) |
| 12 | |
| 13 | func loadSystemConfiguration() error { |
| 14 | // 载入默认配置 |
| 15 | err := provider.PlaceCompilerCommands("./compilers.json") |
| 16 | if err != nil { |
| 17 | return err |
| 18 | } |
| 19 | err = constants.PlaceMemorySizeForJIT("./jit_memory.json") |
| 20 | if err != nil { |
| 21 | return err |
| 22 | } |
| 23 | return nil |
| 24 | } |
| 25 | |
| 26 | func loadProblemConfiguration(configFile string, workDir string) (string, bool, string, error) { |
| 27 | _, err := os.Stat(configFile) |
no test coverage detected