mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 02:22:43 +00:00 
			
		
		
		
	 b40308d0a4
			
		
	
	
		b40308d0a4
		
	
	
	
	
		
			
			These tests are not meant as a replacement to test-js with the -b option but are meant to test simple cases until that works. Before this it was very easy to accidentally break bytecode since no tests were run in bytecode mode. This hopefully makes it easier to spot such regressions :^).
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			337 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			337 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| serenity_testjs_test(test-js.cpp test-js)
 | |
| 
 | |
| install(TARGETS test-js RUNTIME DESTINATION bin OPTIONAL)
 | |
| link_with_unicode_data(test-js)
 | |
| 
 | |
| serenity_test(test-invalid-unicode-js.cpp LibJS LIBS LibJS)
 | |
| link_with_unicode_data(test-invalid-unicode-js)
 | |
| 
 | |
| serenity_test(test-bytecode-js.cpp LibJS LIBS LibJS)
 | |
| link_with_unicode_data(test-bytecode-js)
 |