Skip to content

Commit

Permalink
fixed compilation command for cpp files (#46)
Browse files Browse the repository at this point in the history
* Added library version validator

* Added instruction for upgrade library

* Added INSIDE_DOCKER parameter from ENV (#42)

* Update setup.py

* remove lib validator

* added cpp executor and cpp searcher (#44)

* add cpp executor

* reformat

* reformat

* reformat

* reformat

* reformat

* reformat

* reformat cpp_executor.py

* improved regular expression cpp_searcher.py

* Update cpp_executor.py

reformat compilation command

* Update hstest/testing/execution/process/cpp_executor.py

Co-authored-by: Alexander Petrov <meanmail@meanmail.ru>

---------

Co-authored-by: Alexander Petrov <meanmail@meanmail.ru>

* Update setup.py

updated version to 11.0.0

* Update cpp_executor.py

fixed compilation Command

---------

Co-authored-by: Alexander Petrov <meanmail@meanmail.ru>
  • Loading branch information
polischuks and meanmail authored Nov 16, 2023
1 parent b6ed272 commit 152bdbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hstest/testing/execution/process/cpp_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def __init__(self, source_name: str = None):
self.file_name = self.without_extension

def _compilation_command(self):
return ['g++', '-std', 'c++20', '-pipe', '-O2', '-static', '-o', self.file_name, self.runnable.file]
return ['g++', '-std=c++20', '-pipe', '-O2', '-static', '-o', self.file_name, self.runnable.file]

def _filter_compilation_error(self, error: str) -> str:
return error
Expand Down

0 comments on commit 152bdbb

Please sign in to comment.