Home
last modified time | relevance | path

Searched refs:expected_result (Results 1 - 5 of 5) sorted by relevance

/arkcompiler/runtime_core/compiler/tests/
H A Dpanda_runner.h70 void Run(std::string_view source, ssize_t expected_result) in Run() argument
72 expected_result_ = expected_result; in Run()
/arkcompiler/runtime_core/static_core/tests/checked/
H A Dchecker.rb204 expected_result = 0
217 expected_result = value
224 raise ":abort and :result cannot be set at the same time, :abort = #{aborted_sig}, :result = #{expected_result}" if aborted_sig != 0 && expected_result != 0
247 elsif status.exitstatus != expected_result
249 log.error "ark returns code #{status.exitstatus}, but expected #{expected_result}"
/arkcompiler/runtime_core/tests/checked/
H A Dchecker.rb163 expected_result = 0
175 expected_result = value
197 elsif status.exitstatus != expected_result
199 log.error "panda returns code #{status.exitstatus}, but expected #{expected_result}"
/arkcompiler/runtime_core/compiler/tests/aarch32/
H A Dencoder32_test.cpp3209 bool TestLoadExclusive(Encoder32Test *test, uint64_t input_word, T expected_result) in TestLoadExclusive() argument
3225 return test->CallCode<uintptr_t, T>(word_addr, expected_result); in TestLoadExclusive()
3252 bool TestStoreExclusive(Encoder32Test *test, T value, uint64_t expected_result) in TestStoreExclusive() argument
3282 if (buffer[1] != expected_result) { in TestStoreExclusive()
3283 std::cerr << "Failed: expected value " << std::hex << expected_result << " differs from actual result " in TestStoreExclusive()
/arkcompiler/runtime_core/compiler/tests/aarch64/
H A Dencoder64_test.cpp3325 bool TestLoadExclusive(Encoder64Test *test, uint64_t input_word, T expected_result) in TestLoadExclusive() argument
3341 return test->CallCode<uintptr_t, T>(word_addr, expected_result); in TestLoadExclusive()
3368 bool TestStoreExclusive(Encoder64Test *test, T value, uint64_t expected_result) in TestStoreExclusive() argument
3397 if (buffer[1] != expected_result) { in TestStoreExclusive()
3398 std::cerr << "Failed: expected value " << std::hex << expected_result << " differs from actual result " in TestStoreExclusive()

Completed in 11 milliseconds