This commit is contained in:
2025-05-24 07:09:15 +04:00
parent b8c8da9e31
commit 5d241e9ade
7 changed files with 995 additions and 0 deletions

21
scripts/test_jobs.sh Executable file
View File

@@ -0,0 +1,21 @@
#!/bin/bash
# Create necessary directories
mkdir -p data/jobsdb
# Build the job test
echo "Building job test..."
go build -o bin/jobtest cmd/jobtest/main.go
# Check if build was successful
if [ $? -ne 0 ]; then
echo "Build failed"
exit 1
fi
# Run the job test
echo "Running job test..."
./bin/jobtest
# Exit with the same status as the job test
exit $?