Make duplicates test a little better
@@ -115,15 +115,18 @@ else
fi
# Try out duplicates
+for i in {1..100}
+do
if ./scc -d "examples/duplicates/" | grep -e "Java" | grep -q -e " 1 "; then
- echo -e "${GREEN}PASSED duplicates test"
+ :
else
echo -e "${RED}======================================================="
echo -e "FAILED Duplicates should be consistent"
echo -e "======================================================="
exit
fi
-
+done
+echo -e "${GREEN}PASSED duplicates test"
echo -e "${NC}Cleaning up..."
rm ./scc
