mirror of
				https://github.com/Reuh/anselme.git
				synced 2025-10-27 16:49:31 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			589 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			589 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
| #!/bin/sh
 | |
| 
 | |
| # Run the test suite accross supported Lua versions.
 | |
| # Note that the test suite require luafilesystem: `luarocks --lua-version=5.4 install luafilesystem`
 | |
| 
 | |
| echo "/----------------------------\\"
 | |
| echo "| Running tests with Lua 5.4 |"
 | |
| echo "\\----------------------------/"
 | |
| lua5.4 test/run.lua
 | |
| echo ""
 | |
| 
 | |
| echo "/----------------------------\\"
 | |
| echo "| Running tests with Lua 5.3 |"
 | |
| echo "\\----------------------------/"
 | |
| lua5.3 test/run.lua
 | |
| echo ""
 | |
| 
 | |
| echo "/---------------------------\\"
 | |
| echo "| Running tests with LuaJIT |"
 | |
| echo "\\---------------------------/"
 | |
| luajit test/run.lua
 |