Skip to content

Commit b42d862

Browse files
jarzecJohelEGP
andauthored
Fix typos
Co-authored-by: Johel Ernesto Guerrero Peña <[email protected]> Signed-off-by: jarzec <[email protected]>
1 parent ea18fc3 commit b42d862

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

regression-tests/run-tests.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ usage() {
1111

1212
check_file () {
1313
file="$1"
14-
# Check if the file is tracked by bit
14+
# Check if the file is tracked by git
1515
git ls-files --error-unmatch "$file" > /dev/null 2>&1
1616
untracked=$?
1717
# Compare the content with the refernece value
@@ -138,7 +138,7 @@ for test_file in $tests; do
138138

139139
########
140140
# Run the translation test
141-
echo " Generating C++1 code"
141+
echo " Generating Cpp1 code"
142142
./"$cppfront_cmd" "$test_file" -o "$expected_src" $opt > "$expeced_output" 2>&1
143143

144144
failure=0
@@ -149,7 +149,7 @@ for test_file in $tests; do
149149
# The C++1 generation output has to be tracked
150150
check_file "$expeced_output"
151151
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:"
153153
echo " $expeced_output"
154154
failure=1
155155
elif [[ -n "$diff_output" ]]; then
@@ -165,7 +165,7 @@ for test_file in $tests; do
165165
########
166166
# Check the generated code
167167
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
169169
check_file "$expected_src"
170170
if [[ $untracked -eq 1 ]]; then
171171
echo " The generated file is not tracked by git:"
@@ -198,7 +198,7 @@ for test_file in $tests; do
198198
if [ -f "$expected_src_compil_out" ]; then
199199
# Check for local compiler issues
200200
if [[ $compilation_result -ne 0 ]]; then
201-
# Workaround an issue with MSVC mising std modules
201+
# Workaround an issue with MSVC missing std modules
202202
if cat $expected_src_compil_out | grep -q "error C1011"; then
203203
echo " Skipping further checks due to missing std modules support"
204204
compiler_issue=1

0 commit comments

Comments
 (0)