The embodiment of the invention provides a cross-platform compatibility
automatic testing method, which comprises the following steps: scanning a target platform architecture specification file to extract
instruction set features, collecting
chip platform information to construct a testing environment
database, constructing a testing case
feature model according to the
instruction set features and the testing environment
database, designing a
test case generator based on the
test case feature model, and generating a test task scheduling scheme based on the
test execution framework; inputting the abnormal behavior characteristics and the performance baseline threshold value into a test result analyzer, constructing a scoring dimension containing
functional integrity, a performance standard-reaching rate and a
stability index, and mapping the abnormal behavior characteristics and the performance baseline threshold value to the scoring dimension to generate a test result scoring matrix, calculating a weighted average value of the test result scoring matrix and the optimized
weight coefficient as a compatibility level, generating a
test report based on the compatibility level, and executing regression
verification; according to the invention, the comprehensiveness and accuracy of the test can be improved, and more efficient compatibility evaluation is realized.