← Winnitude! Search  ·  Reader Mode (1485 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 54 LINKS

GitHub - sqlancer/auto-sqlancer: A suite of automation scripts that streamline the sqlancer testing process.

Repository navigation

auto-sqlancer
Public

About

A suite of automation scripts that streamline the sqlancer testing process.

Resources

Readme MIT license Activity Custom properties

Stars

3 stars

Watchers

0 watching

Forks

2 forks Report repository
Branches

Tags
Go to Branches page Go to Tags page

Latest commit

 

History


20 Commits
View commit history for this file.

Folders and files

Name Name Last commit message Last commit date
cockroachdb cockroachdb    
duckdb duckdb    
mysql mysql    
postgres postgres    
sqlancer sqlancer    
sqlite sqlite    
tidb tidb    
.gitignore .gitignore    
LICENSE LICENSE    
README.md README.md    
build.py build.py    
config.json config.json    
entrypoint.sh entrypoint.sh    
start.py start.py    
test.py test.py    
utils.py utils.py    

Repository files navigation

Auto-sqlancer

A suite of automation scripts that streamline the sqlancer testing process.

Minimum Requirements

  • Python 3.7 or above
  • Java 11 or above
  • Docker

Using Auto-sqlancer

1. Build Images

Build all DBMS images

python3 start.py build --dbms all 
  • --dbms all: build all the database images

Build a single DBMS

python3 start.py build --dbms <dbms_name> 
  • <dbms_name>: e.g., mysql, postgres, sqlite, etc.

  • Example:

python3 start.py build --dbms mysql 

Build sqlancer image

python3 start.py build --sqlancer

2. Test

Test all DBMSs

python3 start.py test --dbms all [--cache]
  • --dbms all: test all the databases

  • --cache(optional): skip pulling/building Docker image

Test a single DBMS

python3 start.py test --dbms <dbms_name> --config <path/to/config.json> [--cache]
  • <dbms_name>: e.g., mysql, postgres, sqlite, etc.

  • --config: Path to the config file for the selected DBMS.

  • Example:

python3 start.py test --dbms mysql --config mysql/config.json

Test a Custom Dockerfile-Based DBMS Container

python3 start.py test --dockerfile <path/to/Dockerfile> --config <path/to/config.json> [--cache]
  • --dockerfile: Path to the custom Dockerfile to build the DBMS image.

  • --config: Path to the DBMS config file.

  • Example:

python3 start.py test --dockerfile ./Dockerfile --config ./config.json

About

A suite of automation scripts that streamline the sqlancer testing process.

Resources

Readme MIT license Activity Custom properties

Stars

3 stars

Watchers

0 watching

Forks

2 forks Report repository

Releases

Packages

Contributors

Languages