Skip to content
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

Merged
merged 3 commits into from
Nov 20, 2016

Conversation

aparent
Copy link
Contributor

@aparent aparent commented Nov 14, 2016

Make style check fail when astyle fails.

Make style check fail when astyle fails.
@aparent
Copy link
Contributor Author

aparent commented Nov 15, 2016

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.
@aparent
Copy link
Contributor Author

aparent commented Nov 17, 2016

Will merge this later today if there are no objections.

@tlepoint tlepoint mentioned this pull request Nov 17, 2016
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.";
Copy link
Contributor

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.";
Copy link
Contributor

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.

@aparent
Copy link
Contributor Author

aparent commented Nov 17, 2016

Good idea, Added.

@aparent aparent merged commit 3e68b61 into open-quantum-safe:master Nov 20, 2016
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants