|
1 | 1 | #!/bin/bash
|
2 |
| - |
3 |
| -# XFAIL: TODO-FIXME |
4 |
| - |
5 | 2 | # RUN: rm -rf %t.instance
|
6 | 3 | # RUN: rm -rf %t.tmp && mkdir -p %t.tmp
|
7 | 4 | # RUN: python %{shared_inputs}/create_temp_instance.py \
|
@@ -100,31 +97,31 @@ lnt submit "http://localhost:9091/db_default/submitRun" "${INPUTS}/compile_submi
|
100 | 97 | rm -f "${OUTPUT_DIR}/submit_errors.txt"
|
101 | 98 |
|
102 | 99 | echo "=== compile_submission.json badsuite" >> "${OUTPUT_DIR}/submit_errors.txt"
|
103 |
| -not lnt submit "http://localhost:9091/db_default/v4/badsuite/submitRun" "${INPUTS}/compile_submission.json" >> "${OUTPUT_DIR}/submit_errors.txt" 2>&1 |
| 100 | +! lnt submit "http://localhost:9091/db_default/v4/badsuite/submitRun" "${INPUTS}/compile_submission.json" >> "${OUTPUT_DIR}/submit_errors.txt" 2>&1 |
104 | 101 | # CHECK-ERRORS-LABEL: === compile_submission.json badsuite
|
105 | 102 | # CHECK-ERRORS: error: lnt server: Unknown test suite 'badsuite'!
|
106 | 103 |
|
107 | 104 | echo "=== compile_submission.json baddb" >> "${OUTPUT_DIR}/submit_errors.txt"
|
108 |
| -not lnt submit "http://localhost:9091/db_baddb/v4/compile/submitRun" "${INPUTS}/compile_submission.json" >> "${OUTPUT_DIR}/submit_errors.txt" 2>&1 |
| 105 | +! lnt submit "http://localhost:9091/db_baddb/v4/compile/submitRun" "${INPUTS}/compile_submission.json" >> "${OUTPUT_DIR}/submit_errors.txt" 2>&1 |
109 | 106 | # CHECK_ERROR-LABEL: === compile_submission.json baddb
|
110 | 107 | # CHECK-ERRORS: error: lnt server: The page you are looking for does not exist.
|
111 | 108 |
|
112 | 109 | echo "=== invalid_submission0.json" >> "${OUTPUT_DIR}/submit_errors.txt"
|
113 |
| -not lnt submit "http://localhost:9091/db_default/v4/compile/submitRun" "${INPUTS}/invalid_submission0.json" >> "${OUTPUT_DIR}/submit_errors.txt" 2>&1 |
| 110 | +! lnt submit "http://localhost:9091/db_default/v4/compile/submitRun" "${INPUTS}/invalid_submission0.json" >> "${OUTPUT_DIR}/submit_errors.txt" 2>&1 |
114 | 111 | # CHECK-ERRORS-LABEL: === invalid_submission0.json
|
115 | 112 | # CHECK-ERRORS: error: lnt server: could not parse input format
|
116 | 113 | # ...
|
117 | 114 | # CHECK-ERRORS: ValueError: unable to guess input format for
|
118 | 115 |
|
119 | 116 | echo "=== invalid_submission1.json" >> "${OUTPUT_DIR}/submit_errors.txt"
|
120 |
| -not lnt submit "http://localhost:9091/db_default/v4/compile/submitRun" "${INPUTS}/invalid_submission1.json" >> "${OUTPUT_DIR}/submit_errors.txt" 2>&1 |
| 117 | +! lnt submit "http://localhost:9091/db_default/v4/compile/submitRun" "${INPUTS}/invalid_submission1.json" >> "${OUTPUT_DIR}/submit_errors.txt" 2>&1 |
121 | 118 | # CHECK-ERRORS-LABEL: === invalid_submission1.json
|
122 | 119 | # CHECK-ERRORS: error: lnt server: Invalid input format: No 'run' section in submission
|
123 | 120 | # ...
|
124 | 121 | # CHECK-ERRORS: ValueError: No 'run' section in submission
|
125 | 122 |
|
126 | 123 | echo "=== compile_submission_machine_diff_reject.json" >> "${OUTPUT_DIR}/submit_errors.txt"
|
127 |
| -not lnt submit "http://localhost:9091/db_default/v4/compile/submitRun" "${INPUTS}/compile_submission_machine_diff_reject.json" >> "${OUTPUT_DIR}/submit_errors.txt" 2>&1 |
| 124 | +! lnt submit "http://localhost:9091/db_default/v4/compile/submitRun" "${INPUTS}/compile_submission_machine_diff_reject.json" >> "${OUTPUT_DIR}/submit_errors.txt" 2>&1 |
128 | 125 | # CHECK-ERRORS-LABEL: === compile_submission_machine_diff_reject.json
|
129 | 126 | # CHECK-ERRORS: error: lnt server: import failure: 'hw.activecpu' on machine 'some-compile-suite-machine' changed.
|
130 | 127 | # ...
|
|
0 commit comments