-
Notifications
You must be signed in to change notification settings - Fork 499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert the previous change in 250681196f #53
Conversation
Make style check fail when astyle fails.
Looking at the build output more closely it also seems like the error "find: unknown predicate `-E'" has been happening since e937a6a. |
Not necessary for the regex and not compatible with the linux(GNU) version of find.
Will merge this later today if there are no objections. |
elif [ ${STATUS[0]} != 0 ]; then | ||
tput setaf 1; | ||
echo "prettyprint failed."; | ||
tput sgr 0; | ||
exit 1; | ||
else | ||
tput setaf 2; | ||
echo "Code adheres to the project standards."; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should add Code adheres to the project standards (prettyprint)
here.
@@ -4,10 +4,12 @@ if [[ $(nm -g liboqs.a | grep ' T ' | grep -E -v -i ' T [_]?OQS') ]]; | |||
then | |||
tput setaf 1; | |||
echo "Code contains the following non-namespaced global symbols; see https://github.com/open-quantum-safe/liboqs/wiki/Coding-conventions for function naming conventions."; | |||
tput sgr 0 | |||
nm -g liboqs.a | grep ' T ' | grep -E -v -i ' T [_]?OQS' | |||
exit 1; | |||
else | |||
tput setaf 2; | |||
echo "Code adheres to the project standards."; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should add Code adheres to the project standards (global namespace)
here.
Good idea, Added. |
Make style check fail when astyle fails.