forked from RekGRpth/arenadata.sh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
diskquota-regress.sh
executable file
·24 lines (23 loc) · 1.21 KB
/
diskquota-regress.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh -eux
(
createdb contrib_regression || echo $?
cd "$HOME/src/gpdb$GP_MAJOR/src/test/regress"
make -j$(nproc) install
cd "$HOME/src/diskquota/tests/regress"
#cd "$HOME/src/diskquota/tests"
#rm -rf build
#mkdir -p build
#cd build
#make -j"$(nproc)" clean
#cmake .. --target installcheck
#cmake . --target regress
#make -j"$(nproc)" installcheck
#cmake --build . --target regress
#"$HOME/src/gpdb$GP_MAJOR/src/test/regress/pg_regress" --load-extension=gp_inject_fault --init-file=../init_file test_clean_rejectmap_after_drop
#"$HOME/src/gpdb$GP_MAJOR/src/test/regress/pg_regress" --init-file=../init_file test_clean_rejectmap_after_drop_other_extension
#"$HOME/src/gpdb$GP_MAJOR/src/test/regress/pg_regress" --init-file=../init_file test_drop_any_extension
"$HOME/src/gpdb$GP_MAJOR/src/test/regress/pg_regress" --load-extension=gp_inject_fault --init-file=../init_file config test_create_extension test_recreate test_activetable_limit test_rejectmap_limit test_drop_extension reset_config
#"$HOME/src/gpdb$GP_MAJOR/src/test/regress/pg_regress" --init-file=../init_file test_clean_hard_rejectmap_after_drop_other_extension
#gpconfig -c shared_preload_libraries -v diskquota-2.2
#gpstop -afr
) 2>&1 | tee "$HOME/diskquota-regress.log"