The design scale and the complexity of the software for the smart energy meter are increasing along with its functions. Aiming at the structure of the smart energy meter according with IR46 standard, based on Cyclone V SOC FPGA hardware platform, a smart energy meter software testing system is designed. The architecture of FPGA + Linux + PC is adopted and the hardware environment of the smart energy meter software is established for the test system. By injecting the faults and monitoring the parameters through the platform of the test system, the legitimacy of the dynamic and static software for the new generation smart energy meter in the operating mode can be detected. The software separation between the legal measurement and non-legal measurement can be identified and verified. The testing system overcomes the disadvantage of the traditional detection method, which is difficult to discover the internal defects in the measurement software or other malicious functions. Moreover, the requirements of the software testing for the new generation smart energy meter with dual core are satisfied.