From ad9360cb4b392987edff8e3a650a2fbbc51f7046 Mon Sep 17 00:00:00 2001 From: David Kerkeslager Date: Thu, 21 Sep 2017 18:46:41 -0400 Subject: [PATCH] Move .output.txt to .stdout.txt to reflect which output stream the files contain --- examples/{01_hello.fur.output.txt => 01_hello.fur.stdout.txt} | 0 ...xt => 02_the_answer_to_the_ultimate_question.fur.stdout.txt} | 0 ...nts.fur.output.txt => 03_multiple_statements.fur.stdout.txt} | 0 examples/{04_math.fur.output.txt => 04_math.fur.stdout.txt} | 0 ...ons.fur.output.txt => 05_order_of_operations.fur.stdout.txt} | 0 ...ath.fur.output.txt => 06_left_recursive_math.fur.stdout.txt} | 0 examples/{07_power.fur.output.txt => 07_power.fur.stdout.txt} | 0 ...8_negativity.fur.output.txt => 08_negativity.fur.stdout.txt} | 0 ...9_assignment.fur.output.txt => 09_assignment.fur.stdout.txt} | 0 .../{10_boolean.fur.output.txt => 10_boolean.fur.stdout.txt} | 0 ...parentheses.fur.output.txt => 11_parentheses.fur.stdout.txt} | 0 ...ison.fur.output.txt => 12_integer_comparison.fur.stdout.txt} | 0 ...ison.fur.output.txt => 13_ternary_comparison.fur.stdout.txt} | 0 ...ators.fur.output.txt => 14_boolean_operators.fur.stdout.txt} | 0 .../{15_varargs.fur.output.txt => 15_varargs.fur.stdout.txt} | 0 ...{16_functions.fur.output.txt => 16_functions.fur.stdout.txt} | 0 ...uiting.fur.output.txt => 17_short_circuiting.fur.stdout.txt} | 0 .../{18_comments.fur.output.txt => 18_comments.fur.stdout.txt} | 0 .../{19_closures.fur.output.txt => 19_closures.fur.stdout.txt} | 0 examples/{20_cycles.fur.output.txt => 20_cycles.fur.stdout.txt} | 0 ...{21_arguments.fur.output.txt => 21_arguments.fur.stdout.txt} | 0 ...guments.fur.output.txt => 22_close_arguments.fur.stdout.txt} | 0 ...fur.output.txt => 23_parenthesized_functions.fur.stdout.txt} | 0 ...utput.txt => 24_function_calls_for_functions.fur.stdout.txt} | 0 ...tatements.fur.output.txt => 25_if_statements.fur.stdout.txt} | 0 ..._literals.fur.output.txt => 26_list_literals.fur.stdout.txt} | 0 ...on.fur.output.txt => 27_string_concatenation.fur.stdout.txt} | 0 ...s.fur.output.txt => 28_double_quoted_strings.fur.stdout.txt} | 0 ...9_structures.fur.output.txt => 29_structures.fur.stdout.txt} | 0 integration_tests.py | 2 +- 30 files changed, 1 insertion(+), 1 deletion(-) rename examples/{01_hello.fur.output.txt => 01_hello.fur.stdout.txt} (100%) rename examples/{02_the_answer_to_the_ultimate_question.fur.output.txt => 02_the_answer_to_the_ultimate_question.fur.stdout.txt} (100%) rename examples/{03_multiple_statements.fur.output.txt => 03_multiple_statements.fur.stdout.txt} (100%) rename examples/{04_math.fur.output.txt => 04_math.fur.stdout.txt} (100%) rename examples/{05_order_of_operations.fur.output.txt => 05_order_of_operations.fur.stdout.txt} (100%) rename examples/{06_left_recursive_math.fur.output.txt => 06_left_recursive_math.fur.stdout.txt} (100%) rename examples/{07_power.fur.output.txt => 07_power.fur.stdout.txt} (100%) rename examples/{08_negativity.fur.output.txt => 08_negativity.fur.stdout.txt} (100%) rename examples/{09_assignment.fur.output.txt => 09_assignment.fur.stdout.txt} (100%) rename examples/{10_boolean.fur.output.txt => 10_boolean.fur.stdout.txt} (100%) rename examples/{11_parentheses.fur.output.txt => 11_parentheses.fur.stdout.txt} (100%) rename examples/{12_integer_comparison.fur.output.txt => 12_integer_comparison.fur.stdout.txt} (100%) rename examples/{13_ternary_comparison.fur.output.txt => 13_ternary_comparison.fur.stdout.txt} (100%) rename examples/{14_boolean_operators.fur.output.txt => 14_boolean_operators.fur.stdout.txt} (100%) rename examples/{15_varargs.fur.output.txt => 15_varargs.fur.stdout.txt} (100%) rename examples/{16_functions.fur.output.txt => 16_functions.fur.stdout.txt} (100%) rename examples/{17_short_circuiting.fur.output.txt => 17_short_circuiting.fur.stdout.txt} (100%) rename examples/{18_comments.fur.output.txt => 18_comments.fur.stdout.txt} (100%) rename examples/{19_closures.fur.output.txt => 19_closures.fur.stdout.txt} (100%) rename examples/{20_cycles.fur.output.txt => 20_cycles.fur.stdout.txt} (100%) rename examples/{21_arguments.fur.output.txt => 21_arguments.fur.stdout.txt} (100%) rename examples/{22_close_arguments.fur.output.txt => 22_close_arguments.fur.stdout.txt} (100%) rename examples/{23_parenthesized_functions.fur.output.txt => 23_parenthesized_functions.fur.stdout.txt} (100%) rename examples/{24_function_calls_for_functions.fur.output.txt => 24_function_calls_for_functions.fur.stdout.txt} (100%) rename examples/{25_if_statements.fur.output.txt => 25_if_statements.fur.stdout.txt} (100%) rename examples/{26_list_literals.fur.output.txt => 26_list_literals.fur.stdout.txt} (100%) rename examples/{27_string_concatenation.fur.output.txt => 27_string_concatenation.fur.stdout.txt} (100%) rename examples/{28_double_quoted_strings.fur.output.txt => 28_double_quoted_strings.fur.stdout.txt} (100%) rename examples/{29_structures.fur.output.txt => 29_structures.fur.stdout.txt} (100%) diff --git a/examples/01_hello.fur.output.txt b/examples/01_hello.fur.stdout.txt similarity index 100% rename from examples/01_hello.fur.output.txt rename to examples/01_hello.fur.stdout.txt diff --git a/examples/02_the_answer_to_the_ultimate_question.fur.output.txt b/examples/02_the_answer_to_the_ultimate_question.fur.stdout.txt similarity index 100% rename from examples/02_the_answer_to_the_ultimate_question.fur.output.txt rename to examples/02_the_answer_to_the_ultimate_question.fur.stdout.txt diff --git a/examples/03_multiple_statements.fur.output.txt b/examples/03_multiple_statements.fur.stdout.txt similarity index 100% rename from examples/03_multiple_statements.fur.output.txt rename to examples/03_multiple_statements.fur.stdout.txt diff --git a/examples/04_math.fur.output.txt b/examples/04_math.fur.stdout.txt similarity index 100% rename from examples/04_math.fur.output.txt rename to examples/04_math.fur.stdout.txt diff --git a/examples/05_order_of_operations.fur.output.txt b/examples/05_order_of_operations.fur.stdout.txt similarity index 100% rename from examples/05_order_of_operations.fur.output.txt rename to examples/05_order_of_operations.fur.stdout.txt diff --git a/examples/06_left_recursive_math.fur.output.txt b/examples/06_left_recursive_math.fur.stdout.txt similarity index 100% rename from examples/06_left_recursive_math.fur.output.txt rename to examples/06_left_recursive_math.fur.stdout.txt diff --git a/examples/07_power.fur.output.txt b/examples/07_power.fur.stdout.txt similarity index 100% rename from examples/07_power.fur.output.txt rename to examples/07_power.fur.stdout.txt diff --git a/examples/08_negativity.fur.output.txt b/examples/08_negativity.fur.stdout.txt similarity index 100% rename from examples/08_negativity.fur.output.txt rename to examples/08_negativity.fur.stdout.txt diff --git a/examples/09_assignment.fur.output.txt b/examples/09_assignment.fur.stdout.txt similarity index 100% rename from examples/09_assignment.fur.output.txt rename to examples/09_assignment.fur.stdout.txt diff --git a/examples/10_boolean.fur.output.txt b/examples/10_boolean.fur.stdout.txt similarity index 100% rename from examples/10_boolean.fur.output.txt rename to examples/10_boolean.fur.stdout.txt diff --git a/examples/11_parentheses.fur.output.txt b/examples/11_parentheses.fur.stdout.txt similarity index 100% rename from examples/11_parentheses.fur.output.txt rename to examples/11_parentheses.fur.stdout.txt diff --git a/examples/12_integer_comparison.fur.output.txt b/examples/12_integer_comparison.fur.stdout.txt similarity index 100% rename from examples/12_integer_comparison.fur.output.txt rename to examples/12_integer_comparison.fur.stdout.txt diff --git a/examples/13_ternary_comparison.fur.output.txt b/examples/13_ternary_comparison.fur.stdout.txt similarity index 100% rename from examples/13_ternary_comparison.fur.output.txt rename to examples/13_ternary_comparison.fur.stdout.txt diff --git a/examples/14_boolean_operators.fur.output.txt b/examples/14_boolean_operators.fur.stdout.txt similarity index 100% rename from examples/14_boolean_operators.fur.output.txt rename to examples/14_boolean_operators.fur.stdout.txt diff --git a/examples/15_varargs.fur.output.txt b/examples/15_varargs.fur.stdout.txt similarity index 100% rename from examples/15_varargs.fur.output.txt rename to examples/15_varargs.fur.stdout.txt diff --git a/examples/16_functions.fur.output.txt b/examples/16_functions.fur.stdout.txt similarity index 100% rename from examples/16_functions.fur.output.txt rename to examples/16_functions.fur.stdout.txt diff --git a/examples/17_short_circuiting.fur.output.txt b/examples/17_short_circuiting.fur.stdout.txt similarity index 100% rename from examples/17_short_circuiting.fur.output.txt rename to examples/17_short_circuiting.fur.stdout.txt diff --git a/examples/18_comments.fur.output.txt b/examples/18_comments.fur.stdout.txt similarity index 100% rename from examples/18_comments.fur.output.txt rename to examples/18_comments.fur.stdout.txt diff --git a/examples/19_closures.fur.output.txt b/examples/19_closures.fur.stdout.txt similarity index 100% rename from examples/19_closures.fur.output.txt rename to examples/19_closures.fur.stdout.txt diff --git a/examples/20_cycles.fur.output.txt b/examples/20_cycles.fur.stdout.txt similarity index 100% rename from examples/20_cycles.fur.output.txt rename to examples/20_cycles.fur.stdout.txt diff --git a/examples/21_arguments.fur.output.txt b/examples/21_arguments.fur.stdout.txt similarity index 100% rename from examples/21_arguments.fur.output.txt rename to examples/21_arguments.fur.stdout.txt diff --git a/examples/22_close_arguments.fur.output.txt b/examples/22_close_arguments.fur.stdout.txt similarity index 100% rename from examples/22_close_arguments.fur.output.txt rename to examples/22_close_arguments.fur.stdout.txt diff --git a/examples/23_parenthesized_functions.fur.output.txt b/examples/23_parenthesized_functions.fur.stdout.txt similarity index 100% rename from examples/23_parenthesized_functions.fur.output.txt rename to examples/23_parenthesized_functions.fur.stdout.txt diff --git a/examples/24_function_calls_for_functions.fur.output.txt b/examples/24_function_calls_for_functions.fur.stdout.txt similarity index 100% rename from examples/24_function_calls_for_functions.fur.output.txt rename to examples/24_function_calls_for_functions.fur.stdout.txt diff --git a/examples/25_if_statements.fur.output.txt b/examples/25_if_statements.fur.stdout.txt similarity index 100% rename from examples/25_if_statements.fur.output.txt rename to examples/25_if_statements.fur.stdout.txt diff --git a/examples/26_list_literals.fur.output.txt b/examples/26_list_literals.fur.stdout.txt similarity index 100% rename from examples/26_list_literals.fur.output.txt rename to examples/26_list_literals.fur.stdout.txt diff --git a/examples/27_string_concatenation.fur.output.txt b/examples/27_string_concatenation.fur.stdout.txt similarity index 100% rename from examples/27_string_concatenation.fur.output.txt rename to examples/27_string_concatenation.fur.stdout.txt diff --git a/examples/28_double_quoted_strings.fur.output.txt b/examples/28_double_quoted_strings.fur.stdout.txt similarity index 100% rename from examples/28_double_quoted_strings.fur.output.txt rename to examples/28_double_quoted_strings.fur.stdout.txt diff --git a/examples/29_structures.fur.output.txt b/examples/29_structures.fur.stdout.txt similarity index 100% rename from examples/29_structures.fur.output.txt rename to examples/29_structures.fur.stdout.txt diff --git a/integration_tests.py b/integration_tests.py index 53bc265..7669aea 100644 --- a/integration_tests.py +++ b/integration_tests.py @@ -32,7 +32,7 @@ def add_example_output_test(filename): p = subprocess.Popen('./a.out', stdout=subprocess.PIPE, stderr=subprocess.PIPE) actual_stdout, actual_stderr = p.communicate() - expected_stdout_path = os.path.join('examples', filename + '.output.txt') + expected_stdout_path = os.path.join('examples', filename + '.stdout.txt') if os.path.isfile(expected_stdout_path): with open(expected_stdout_path, 'rb') as f: -- 2.20.1