Add option to use short names for enum values.

Update issue 38
Status: FixedInGit
This commit is contained in:
Petteri Aimonen
2012-10-29 18:55:49 +02:00
parent 0ee4bb96b1
commit db1eefc24b
6 changed files with 58 additions and 14 deletions

View File

@@ -83,9 +83,9 @@ run_unittests: decode_unittests encode_unittests test_cxxcompile test_encode1 te
./test_missing_fields
test_options: options.pb.h options.expected
for p in $$(grep . options.expected); do \
if ! grep -qF "$$p" $<; then \
echo Expected: $$p; \
cat options.expected | while read -r p; do \
if ! grep -q "$$p" $<; then \
echo Expected: "$$p"; \
exit 1; \
fi \
done