     }
     
     func testAlterTableAddGeneratedVirtualColumn() throws {
-        guard sqlite3_libversion_number() >= 0331000 else {
-            throw XCTSkip("ALTER TABLE ADD COLUMN AS VIRTUAL is not available")
-        }
+        #if !GRDBCUSTOMSQLITE
+        throw XCTSkip("Generated columns are not available")
+        #else
         let dbQueue = try makeDatabaseQueue()
         try dbQueue.inDatabase { db in
             try db.create(table: "test") { t in

    }
    
    func testColumnGeneratedAs() throws {
        guard sqlite3_libversion_number() >= 0331000 else {
            throw XCTSkip("CREATE TABLE COLUMN AS is not available")
        }
        let dbQueue = try makeDatabaseQueue()
        try dbQueue.inTransaction { db in
            try db.create(table: "test") { t in

                """)
            return .rollback
        }
        #endif
    }
    
    func testTablePrimaryKey() throws {
