@@ -11,7 +11,7 @@ usage() {
11
11
12
12
check_file () {
13
13
file=" $1 "
14
- # Check if the file is tracked by bit
14
+ # Check if the file is tracked by git
15
15
git ls-files --error-unmatch " $file " > /dev/null 2>&1
16
16
untracked=$?
17
17
# Compare the content with the refernece value
@@ -138,7 +138,7 @@ for test_file in $tests; do
138
138
139
139
# #######
140
140
# Run the translation test
141
- echo " Generating C++1 code"
141
+ echo " Generating Cpp1 code"
142
142
./" $cppfront_cmd " " $test_file " -o " $expected_src " $opt > " $expeced_output " 2>&1
143
143
144
144
failure=0
@@ -149,7 +149,7 @@ for test_file in $tests; do
149
149
# The C++1 generation output has to be tracked
150
150
check_file " $expeced_output "
151
151
if [[ $untracked -eq 1 ]]; then
152
- echo " The C++1 generation output file is not tracked by git:"
152
+ echo " The Cpp1 generation output file is not tracked by git:"
153
153
echo " $expeced_output "
154
154
failure=1
155
155
elif [[ -n " $diff_output " ]]; then
@@ -165,7 +165,7 @@ for test_file in $tests; do
165
165
# #######
166
166
# Check the generated code
167
167
if [ -f " $expected_src " ]; then
168
- # The file was generated, so it shoudl be tracked by git
168
+ # The file was generated, so it should be tracked by git
169
169
check_file " $expected_src "
170
170
if [[ $untracked -eq 1 ]]; then
171
171
echo " The generated file is not tracked by git:"
@@ -198,7 +198,7 @@ for test_file in $tests; do
198
198
if [ -f " $expected_src_compil_out " ]; then
199
199
# Check for local compiler issues
200
200
if [[ $compilation_result -ne 0 ]]; then
201
- # Workaround an issue with MSVC mising std modules
201
+ # Workaround an issue with MSVC missing std modules
202
202
if cat $expected_src_compil_out | grep -q " error C1011" ; then
203
203
echo " Skipping further checks due to missing std modules support"
204
204
compiler_issue=1
0 commit comments