diff options
| author | Mengchi Zhang <[email protected]> | 2019-07-16 12:45:50 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-07-16 12:45:50 -0400 |
| commit | 07f7494e588301d898122837cb73b34380a2e041 (patch) | |
| tree | 4af15f4e22cb0c55450e26cb97110534148c8c60 | |
| parent | e1fa1a3cc7c509417064a8e4cdab71e3f7feb881 (diff) | |
| parent | bf198b13541a427cba9bef22799955aa08ab050a (diff) | |
Merge pull request #3 from purdue-aalp/dev
Dev
| -rw-r--r-- | nightly.jenkinsfile | 4 | ||||
| -rw-r--r-- | src/option_parser.cc | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/nightly.jenkinsfile b/nightly.jenkinsfile index 0813ea8..e5ffa57 100644 --- a/nightly.jenkinsfile +++ b/nightly.jenkinsfile @@ -22,7 +22,9 @@ pipeline { } stage('nightly-simulations-build'){ steps{ - sh 'cp -r ./gpgpu-sim_simulations ./gpgpu-sim_simulations_bak' + sh 'if [ -d "./gpgpu-sim_simulations" ]; then \ + cp -fr ./gpgpu-sim_simulations ./gpgpu-sim_simulations_bak; \ + fi' sh 'rm -rf gpgpu-sim_simulations' sh 'git clone [email protected]:purdue-aalp/gpgpu-sim_simulations.git && \ cd gpgpu-sim_simulations && \ diff --git a/src/option_parser.cc b/src/option_parser.cc index 4fa2343..7d747f0 100644 --- a/src/option_parser.cc +++ b/src/option_parser.cc @@ -100,7 +100,7 @@ public: } try { ss >> m_variable; - } catch (stringstream::failure &e) { + } catch (exception &e) { return false; } m_isParsed = true; |
